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/es/index.js
CHANGED
|
@@ -230,14 +230,10 @@ function useTableStateStorage(table) {
|
|
|
230
230
|
return;
|
|
231
231
|
}
|
|
232
232
|
const {
|
|
233
|
-
storage
|
|
233
|
+
storage,
|
|
234
|
+
id
|
|
234
235
|
} = persist;
|
|
235
|
-
|
|
236
|
-
for (const key of keys) {
|
|
237
|
-
if (key !== null) {
|
|
238
|
-
await storage.removeItem(key);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
236
|
+
await storage.removeItem(storageName(id));
|
|
241
237
|
q.clear();
|
|
242
238
|
});
|
|
243
239
|
}
|