From 0003015f0176b64f8ce3446836a81239fcb00e23 Mon Sep 17 00:00:00 2001 From: Lucemans Date: Sun, 14 May 2023 07:56:33 +0000 Subject: [PATCH] f --- .../src/pages/e/[event_id]/confirmation.tsx | 43 ++++++++++++------- .../src/pages/e/[event_id]/rsvp.tsx | 4 ++ 2 files changed, 32 insertions(+), 15 deletions(-) diff --git a/web/signed-rsvp/src/pages/e/[event_id]/confirmation.tsx b/web/signed-rsvp/src/pages/e/[event_id]/confirmation.tsx index 3e65272..c8ab856 100644 --- a/web/signed-rsvp/src/pages/e/[event_id]/confirmation.tsx +++ b/web/signed-rsvp/src/pages/e/[event_id]/confirmation.tsx @@ -1,6 +1,7 @@ import { motion } from 'framer-motion'; import { useRouter } from 'next/router'; import { useEffect } from 'react'; +import { FiCopy } from 'react-icons/fi'; import { useAccount, useEnsAvatar, useEnsName } from 'wagmi'; import { DisconnectButton } from '@/components/DisconnectButton'; @@ -94,21 +95,33 @@ const ConfirmationPage = () => {

{event.date}

-

- {event.post_text} -

- RSVP provided by{' '} - - {' '} - signature.ceo - -
-

+
+

+ {event.post_text} +

+ RSVP provided by{' '} + + {' '} + signature.ceo + +
+

+ + + +
{ensName || address} { return; } + const { id } = await d.json(); + + localStorage.setItem(`receipt-${event.id}`, id); + router.push('/e/' + event.id + '/confirmation'); }, });