alter table - editor data fix

This commit is contained in:
Jan Prochazka
2021-09-09 14:42:46 +02:00
parent 61ec9e4365
commit 275c57631b
2 changed files with 1 additions and 2 deletions

View File

@@ -135,6 +135,7 @@ export default function useEditorData({ tabid, reloadToken = 0, loadFromArgs = n
const clearEditorData = async () => {
await localforage.removeItem(localStorageKey);
localStorage.removeItem(localStorageKey);
value = null;
editorState.update(x => ({
...x,
value: null,