From 6e7893d1a8f0cc330c644fc6faa22ca2e3f220f9 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Sun, 8 Aug 2021 23:44:11 +0200 Subject: [PATCH] fixed add guest input for darkmode --- pages/[user]/book.tsx | 41 +++++++-------- styles/globals.css | 119 ++++++++++++++++++++++++------------------ 2 files changed, 87 insertions(+), 73 deletions(-) diff --git a/pages/[user]/book.tsx b/pages/[user]/book.tsx index e98e975370..74e2c78536 100644 --- a/pages/[user]/book.tsx +++ b/pages/[user]/book.tsx @@ -329,32 +329,28 @@ export default function Book(props: any): JSX.Element { ))}
- {!guestToggle && + {!guestToggle && ( + + )} + {guestToggle && ( +
- } - {guestToggle && ( -
- - + { setGuestEmails(_emails); }} - getLabel={( - email: string, - index: number, - removeEmail: (index: number) => void - ) => { + getLabel={(email: string, index: number, removeEmail: (index: number) => void) => { return (
{email} @@ -364,11 +360,10 @@ export default function Book(props: any): JSX.Element {
); }} - /> -
- )} - -
+ /> +
+ )} +