diff --git a/src/components/CreateBlueprintForm.tsx b/src/components/CreateBlueprintForm.tsx index e0f592a1..b60762d0 100644 --- a/src/components/CreateBlueprintForm.tsx +++ b/src/components/CreateBlueprintForm.tsx @@ -88,12 +88,13 @@ export default function CreateBlueprintForm({ if (!isValid) return; const res = await api - .put< - AxiosResponse - >(`/org/${orgId}/blueprint/`, { - name: form.getValues("name"), - blueprint: form.getValues("contents") - }) + .put>( + `/org/${orgId}/blueprint/`, + { + name: form.getValues("name"), + blueprint: form.getValues("contents") + } + ) .catch((e) => { toast({ variant: "destructive", @@ -132,9 +133,6 @@ export default function CreateBlueprintForm({ render={({ field }) => ( {t("name")} - - {t("blueprintNameDescription")} -