Desktop: Dev fix: Fixed TypeScript

pull/3247/head
Laurent Cozic 2020-05-21 17:12:18 +01:00
parent 2de30f8b82
commit a2fce031a2
1 changed files with 1 additions and 1 deletions

View File

@ -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_;