Skip to content

Commit

Permalink
Updates hardcoded ENS names
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgingras committed May 30, 2024
1 parent 130ce97 commit 74c50cb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/app/proposals/sponsor/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import SponsorForm from "../components/SponsorForm";
import Image from "next/image";
import { icons } from "@/icons/icons";
import SponsorAuthCheck from "../components/SponsorAuthCheck";
import ENSName from "@/components/shared/ENSName";

const getDraftProposal = async (id: number) => {
const draftProposal = await prisma.proposalDraft.findUnique({
Expand Down Expand Up @@ -51,7 +52,8 @@ const ProposalSponsorPage = async ({ params }: { params: { id: string } }) => {
/>

<p className="font-semibold">
kartpatkey.eth would like your help to submit this proposal
<ENSName address={draftProposal.author_address} /> would like
your help to submit this proposal
</p>
</div>
<p className="text-[#B16B19]/70 mt-2">
Expand All @@ -61,7 +63,10 @@ const ProposalSponsorPage = async ({ params }: { params: { id: string } }) => {
</p>
<p className="text-[#B16B19]/70 mt-2">
If you choose to do so, this proposal will be marked as
&apos;submitted by nick.eth, authored by kartpatkey.eth&apos;
&apos;submitted by{" "}
<ENSName address={draftProposal.sponsor_address || ""} />,
authored by <ENSName address={draftProposal.author_address} />
&apos;
</p>
</div>
</div>
Expand Down

0 comments on commit 74c50cb

Please sign in to comment.