From 81030207991240b41ba1753d65c6c36135e3eba5 Mon Sep 17 00:00:00 2001 From: FreePhoenix888 Date: Fri, 15 Mar 2024 11:19:50 +0000 Subject: [PATCH] Add reactHookForm to client handlers --- imports/client-handler.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imports/client-handler.tsx b/imports/client-handler.tsx index 88b8750f..1318b487 100644 --- a/imports/client-handler.tsx +++ b/imports/client-handler.tsx @@ -62,6 +62,7 @@ import * as reactYandexMaps from '@pbe/react-yandex-maps' import moment from 'moment' import { useEditorTabs } from './cyto/editor'; import { useCytoEditor } from './cyto/hooks'; +import reactHookForm from 'react-hook-form' const MonacoEditor = dynamic(() => import('@monaco-editor/react').then(m => m.default), { ssr: false }); @@ -286,7 +287,8 @@ r.list = { "react-i18next": reacti18next, "@pbe/react-yandex-maps": reactYandexMaps, // "react-calendar-timeline": ReactCalendarTimeline, - "moment": moment + "moment": moment, + "react-hook-form": reactHookForm }; export async function evalClientHandler({