schummar-table 0.14.1 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +3 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/index.js +3 -7
- package/dist/es/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -232,14 +232,10 @@ function useTableStateStorage(table) {
|
|
|
232
232
|
return;
|
|
233
233
|
}
|
|
234
234
|
const {
|
|
235
|
-
storage
|
|
235
|
+
storage,
|
|
236
|
+
id
|
|
236
237
|
} = persist;
|
|
237
|
-
|
|
238
|
-
for (const key of keys) {
|
|
239
|
-
if (key !== null) {
|
|
240
|
-
await storage.removeItem(key);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
238
|
+
await storage.removeItem(storageName(id));
|
|
243
239
|
q.clear();
|
|
244
240
|
});
|
|
245
241
|
}
|