mirror of
https://github.com/suitenumerique/docs.git
synced 2026-10-01 22:15:14 +02:00
🐛(editor) fix TypeError in document editor
I get > TypeError: Cannot use 'in' operator to search for 'de' in undefined when building MIT-only since `localesBNAI` is undefined then. Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ import {
|
||||
const AIMenu = BlockNoteAI?.AIMenu;
|
||||
const AIMenuController = BlockNoteAI?.AIMenuController;
|
||||
const useAI = BlockNoteAI?.useAI;
|
||||
const localesBNAI = BlockNoteAI?.localesAI;
|
||||
const localesBNAI = BlockNoteAI?.localesAI || {};
|
||||
import {
|
||||
InterlinkingLinkInlineContent,
|
||||
InterlinkingSearchInlineContent,
|
||||
|
||||
Reference in New Issue
Block a user