Skip to content

Commit

Permalink
Delete template modal and fix more types
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenbrissette committed Feb 11, 2025
1 parent d1e4e24 commit 140e7b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 356 deletions.
355 changes: 0 additions & 355 deletions apps/web/src/components/createFormTemplate/CreateFormTemplateModal.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export const FormTemplateButtons = ({
review?: boolean;
}) => {
const router = useRouter();
const { formTemplateName, fieldGroups, useBlob } = useCreateFormTemplate();
const { formTemplateName, fieldGroups, useBlob, formTemplateDescription } =
useCreateFormTemplate();

const { hasLocalBlob, uploadLocalBlobData } = useBlob;

Expand Down Expand Up @@ -69,6 +70,7 @@ export const FormTemplateButtons = ({
name: formTemplateName ? formTemplateName : '',
formDocLink: blob.url,
fieldGroups: fieldGroups,
description: formTemplateDescription ? formTemplateDescription : '',
},
})
.then((response) => {
Expand Down

0 comments on commit 140e7b8

Please sign in to comment.