diff --git a/src/app/board/[boardId]/_components/CreatePolaroidModal/CreatePolaroid.tsx b/src/app/board/[boardId]/_components/CreatePolaroidModal/CreatePolaroid.tsx index 59c52f7..3058669 100644 --- a/src/app/board/[boardId]/_components/CreatePolaroidModal/CreatePolaroid.tsx +++ b/src/app/board/[boardId]/_components/CreatePolaroidModal/CreatePolaroid.tsx @@ -58,7 +58,7 @@ const CreatePolaroid = ({ return (
-
+
)}
-
+
diff --git a/src/app/board/[boardId]/_components/CreatePolaroidModal/ThemaSelect.tsx b/src/app/board/[boardId]/_components/CreatePolaroidModal/ThemaSelect.tsx index dc31f6d..ce09a1b 100644 --- a/src/app/board/[boardId]/_components/CreatePolaroidModal/ThemaSelect.tsx +++ b/src/app/board/[boardId]/_components/CreatePolaroidModal/ThemaSelect.tsx @@ -65,7 +65,7 @@ const ThemaSelect = ({ onClick={() => setShowThemaSelect(false)} />
-
+
{Object.entries(THEMAS).map(([key]) => ( void } -const BoardNameForm = ({ createBoard }: BoardNameFormProps) => { +const BoardNameForm = ({ children, createBoard }: BoardNameFormProps) => { const [title, setTitle] = useState('') const [hasError, setHasError] = useState(false) const isEmpty = title.length === 0 @@ -39,7 +39,7 @@ const BoardNameForm = ({ createBoard }: BoardNameFormProps) => { setValue={onInput} />
- + {children}