diff --git a/src/components/invitation/Invitation.tsx b/src/components/invitation/Invitation.tsx index 1a4e55b..c7b0b73 100644 --- a/src/components/invitation/Invitation.tsx +++ b/src/components/invitation/Invitation.tsx @@ -12,7 +12,7 @@ interface Props {} const Invitation: Component = (props) => { const [saving, save] = createServerAction$(async (values: any) => { const db = new PouchDb(".db"); - const id = `invitation/${uuid()}}`; + const id = `invitation/${uuid()}`; await db.put({ _id: id, type: "invitation",