From a2fce031a2bd7071fd182c570559fee69614fd43 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Thu, 21 May 2020 17:12:18 +0100 Subject: [PATCH] Desktop: Dev fix: Fixed TypeScript --- ElectronClient/gui/NoteEditor/NoteBody/TinyMCE/TinyMCE.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElectronClient/gui/NoteEditor/NoteBody/TinyMCE/TinyMCE.tsx b/ElectronClient/gui/NoteEditor/NoteBody/TinyMCE/TinyMCE.tsx index cceb517643..cb73686b11 100644 --- a/ElectronClient/gui/NoteEditor/NoteBody/TinyMCE/TinyMCE.tsx +++ b/ElectronClient/gui/NoteEditor/NoteBody/TinyMCE/TinyMCE.tsx @@ -694,7 +694,7 @@ const TinyMCE = (props:NoteBodyEditorProps, ref:any) => { // The fix would be to make allAssets() return a name and a version for each asset. Then the loading // code would check this and either append the CSS or replace. - let docHead_ = null; + let docHead_:any = null; function docHead() { if (docHead_) return docHead_;