feat(app): editor store, undo, recovery copy and geometry accept rules
This commit is contained in:
1 parent
f7e7bf4ee1
commit
7f1d44065b
20 files changed
+2538
-5
No files matched your search
@@ -40,7 +40,7 @@ function storage(): Storage | null {
|
||||
}
|
||||
|
||||
/** A refused write (quota) leaves the previous value in place, as the Storage API does. */
|
||||
function writeOrRemove(key: string, value: unknown): boolean {
|
||||
export function writeOrRemove(key: string, value: unknown): boolean {
|
||||
const store = storage()
|
||||
if (!store) return false
|
||||
if (value === null) {
|
||||
|
||||
Reference in new issue
Block a user