diff --git a/app/admin/page.tsx b/app/admin/page.tsx index e062bc2..b1314b4 100644 --- a/app/admin/page.tsx +++ b/app/admin/page.tsx @@ -151,9 +151,8 @@ export default function AdminPage() {
- +
@@ -194,18 +193,17 @@ export default function AdminPage() {
- + setSelectedSongbookId(e.target.value)} + > + + {songbooks.map((book) => ( + + ))} +
diff --git a/components/FormElements.tsx b/components/FormElements.tsx index 483c28a..97afa91 100644 --- a/components/FormElements.tsx +++ b/components/FormElements.tsx @@ -14,10 +14,15 @@ function Textfield({value, onChange, placeholder}: TextfieldProps) { ) } -function Dropdown() { - return ( -

- ) +function Dropdown({ children, ...props }: ComponentPropsWithoutRef<"select">) { + return ( + + ); } export const Input = {