mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-20 21:49:32 +01:00
global: fix type errors during build
This commit is contained in:
committed by
Abdullah Atta
parent
2bb3652be2
commit
4e157455c8
@@ -138,7 +138,7 @@ export function useEditorController(update: () => void): EditorController {
|
||||
}, [colors]);
|
||||
|
||||
const contentChange = useCallback(
|
||||
(editor: Editor, ignoreEdit) => {
|
||||
(editor: Editor, ignoreEdit?: boolean) => {
|
||||
const currentSessionId = globalThis.sessionId;
|
||||
post(EventTypes.contentchange);
|
||||
if (!editor) return;
|
||||
|
||||
Reference in New Issue
Block a user