Skip to content

Commit

Permalink
Add cyto/hooks to client handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
FreePhoenix888 committed Mar 10, 2024
1 parent 528c31a commit c9edba1
Showing 1 changed file with 4 additions and 25 deletions.
29 changes: 4 additions & 25 deletions imports/client-handler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import SoftBreak from 'slate-soft-break';
import { slateToHtml, htmlToSlate } from 'slate-serializers';
import isHotkey from 'is-hotkey';
import * as Resizable from 're-resizable';
import * as DeepCase from './index';
import { useContainer, useSpaceId, useRefAutofill, useFocusMethods, useShowExtra, useBreadcrumbs, useTraveler } from './hooks';
import { CytoEditorPreview } from './cyto/editor-preview';
import { CustomizableIcon } from './icons-provider';
Expand Down Expand Up @@ -175,6 +176,8 @@ DeepClient.resolveDependency = async (path: string) : Promise<any> => {
return await import('react-multi-date-picker');
} else if (path == 'node-sound') {
return await import('./aframe/components/node-sound');
} else if (path == './cyto/hooks') {
return await import('./cyto/hooks');
} else if (path == 'dragger') {
return await import('./aframe/components/dragger');
} else if (path == 'rotator') {
Expand Down Expand Up @@ -236,31 +239,7 @@ r.list = {
're-resizable': Resizable,
'@monaco-editor/react': MonacoEditor,
'@chakra-ui/icons': icons,
'@deep-foundation/deepcase': {
useContainer,
useSpaceId,
useFocusMethods,
useBreadcrumbs,
useShowExtra,
useTraveler,
CytoEditorPreview,
CustomizableIcon,
Resize,
EditorTextArea,
ClientHandler,
BubbleArrowLeft,
CytoReactLinkAvatar,
DeepWysiwyg,
useStringSaver,
BlockButton,
MarkButton,
useRefAutofill,
useChackraColor,
useChackraGlobal,
CytoGraph,
useEditorTabs,
useCytoEditor,
},
'@deep-foundation/deepcase': DeepCase,
'@deep-foundation/deeplinks': {
useMinilinksFilter
},
Expand Down

0 comments on commit c9edba1

Please sign in to comment.