mirror of
https://github.com/docmost/docmost.git
synced 2026-08-31 02:46:27 +08:00
refactor(client): type comparePairAtom initializer so setters infer as writable
This commit is contained in:
@@ -26,7 +26,6 @@ export function useHistoryReset(pageId: string) {
|
||||
const resetCompare = () => {
|
||||
setCompareMode(false);
|
||||
setCompareSelection([]);
|
||||
// @ts-ignore
|
||||
setComparePair(null);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user