mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
bump version
This commit is contained in:
1 parent
84f8af58a1
commit
11fc1f59c9
13 files changed
+37
-36
No files matched your search
@@ -161,7 +161,7 @@ const page = new NamedPage(['problem_detail', 'contest_detail_problem', 'homewor
|
||||
} catch { }
|
||||
|
||||
let previousEditorState = store.getState().editor;
|
||||
let write = Promise.resolve();
|
||||
let write: Promise<any> = Promise.resolve();
|
||||
const saveDraft = _.debounce((code: string, lang: string) => {
|
||||
write = write
|
||||
.then(() => openDB.then((db) => db.put('scratchpad-drafts', { id: cacheKey, code, lang })))
|
||||
|
||||
Reference in new issue
Block a user