From 149c286342290b192296c376fa54f7c4b1ca8c59 Mon Sep 17 00:00:00 2001 From: Henry8192 <50559854+Henry8192@users.noreply.github.com> Date: Mon, 7 Jul 2025 19:07:57 -0400 Subject: [PATCH] remove redundant dash in persist parameters (#3170) --- docs/middlewares/persist.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/middlewares/persist.md b/docs/middlewares/persist.md index 81e80695..a3f756b6 100644 --- a/docs/middlewares/persist.md +++ b/docs/middlewares/persist.md @@ -52,7 +52,7 @@ persist(stateCreatorFn: StateCreator, persistOptions?: PersistO Usually, you will return an object with the methods you want to expose. - `persistOptions`: An object to define storage options. - `name`: A unique name of the item for your store in the storage. - - **optional** `storage`: Defaults to `createJSONStorage(() => localStorage)`. - + - **optional** `storage`: Defaults to `createJSONStorage(() => localStorage)`. - **optional** `partialize`: A function to filter state fields before persisting it. - **optional** `onRehydrateStorage`: A function or function returning a function that allows custom logic before and after state rehydration.