@starasia/admin 8.10.1 → 8.10.3

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.
@@ -18,8 +18,11 @@ interface UseLastFilterStateOptions {
18
18
  * dengan restore perPage. Hook ini hanya autosave + expose `read()` + `clear()`.
19
19
  *
20
20
  * - **Autosave**: writes to `filterbar:last:{scopeId}` on every URL change.
21
- * Snapshot KOSONG tidak ditulis (agar tidak menghapus snapshot saat URL
22
- * kosong transient / pindah route).
21
+ * Snapshot KOSONG saat MOUNT (sebelum restore jalan) tidak ditulis & tidak
22
+ * menghapus snapshot (agar tahan transient empty / pindah route). TAPI kalau
23
+ * URL jadi kosong SETELAH sempat ada filter di sesi mount ini (= user benar-
24
+ * benar meng-clear, mis. lewat `useFilterBarControls`), snapshot dihapus —
25
+ * supaya state "sudah di-clear" tidak ter-restore lagi saat balik ke halaman.
23
26
  * - **`clear()`**: removes the snapshot (dipanggil dari Reset).
24
27
  */
25
28
  export declare function useLastFilterState({ scopeId, storage, snapshotKeys, enabled }: UseLastFilterStateOptions): {