Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

refactor: fix import

ammarahm-edd28c02d10d25
diff --git a/apps/mobile/src/screens/editor/tiptap/useEditorEvents.ts b/apps/mobile/src/screens/editor/tiptap/useEditorEvents.ts
index 98a4bb7c4..595c86f01 100644
--- a/apps/mobile/src/screens/editor/tiptap/useEditorEvents.ts
+++ b/apps/mobile/src/screens/editor/tiptap/useEditorEvents.ts
@@ -1,6 +1,6 @@
/* eslint-disable no-case-declarations */
/* eslint-disable @typescript-eslint/no-var-requires */
-import { getDefaultPresets } from '@streetwriters/editor/dist/es/toolbar';
+import { getDefaultPresets } from '@streetwriters/editor/dist/es/toolbar/tooldefinitions';
import { useCallback, useEffect, useRef } from 'react';
import { BackHandler, InteractionManager, NativeEventSubscription } from 'react-native';
import { WebViewMessageEvent } from 'react-native-webview';