diff --git a/package.json b/package.json index d138b50d..97c4e11c 100644 --- a/package.json +++ b/package.json @@ -22,23 +22,23 @@ "@mui/material": "^5.14.4", "@mui/x-data-grid": "^6.12.1", "dayjs": "^1.11.9", - "next": "13.4.13", + "next": "13.5.6", "react": "18.2.0", "react-dom": "18.2.0", "react-hook-form": "^7.45.4", - "zod": "^3.21.4" + "zod": "^3.22.3" }, "devDependencies": { "@tsconfig/strictest": "^2.0.1", "@types/eslint": "8.44.3", "@types/eslint-config-prettier": "^6.11.1", - "@types/node": "18.17.1", + "@types/node": "18.19.0", "@types/react": "18.2.19", "@types/react-dom": "18.2.7", "@typescript-eslint/eslint-plugin": "^6.7.4", "@typescript-eslint/parser": "^6.7.4", "eslint": "8.46.0", - "eslint-config-next": "13.4.13", + "eslint-config-next": "13.5.6", "eslint-config-prettier": "^9.0.0", "eslint-import-resolver-typescript": "^3.6.0", "eslint-plugin-import": "^2.28.1", @@ -49,7 +49,7 @@ "typesync": "^0.11.1" }, "volta": { - "node": "18.17.1", + "node": "18.19.0", "yarn": "1.22.19" } } diff --git a/src/features/form/api/form.ts b/src/features/form/api/form.ts index c06e3096..49671190 100644 --- a/src/features/form/api/form.ts +++ b/src/features/form/api/form.ts @@ -4,7 +4,6 @@ import { batchAnswersSchema, formSchema, mimimumFormsSchema, - questionSchema, questionsSchema, } from '../types/formSchema'; import type { BatchAnswer, Form, FormQuestion } from '../types/formSchema'; @@ -35,15 +34,21 @@ export const getForm = async (formId: number, token: string): Promise