Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf committed Jul 24, 2024
1 parent 446f1f9 commit bb7e23a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/new-workspace-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ export function WorkspaceForm({
async function onSubmit(data: z.infer<typeof FormSchema>) {
form.clearErrors();
try {
await db.workspaces.add({ name: data.name, template: data.template });
await db.workspaces.add({
name: data.name,
template: data.template,
dll: "",
});
const res = await fetch(
`/api/get-template-data?id=${data.template}&name=${data.name}`
);
Expand Down

0 comments on commit bb7e23a

Please sign in to comment.