mirror of
https://github.com/docmost/docmost.git
synced 2026-08-31 10:55:29 +08:00
refactor(client): type diffCountsAtom initializer so setters infer as writable
This commit is contained in:
@@ -31,7 +31,6 @@ export function useHistoryReset(pageId: string) {
|
||||
|
||||
setActiveHistoryId("");
|
||||
setActiveHistoryPrevId("");
|
||||
// @ts-ignore
|
||||
setDiffCounts(null);
|
||||
resetCompare();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user