Skip to content

Commit 7d8d881

Browse files
authored
Merge pull request #8313 from fzan/store-doc-fix
Fix documentation about localStorageStore
2 parents 6ed6034 + dcf678b commit 7d8d881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Store.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ To create a Store with a different version number, call the `localStorageStore()
120120
```jsx
121121
import { Admin, Resource, localStorageStore } from 'react-admin';
122122

123-
const STORE_VERSION = 2;
123+
const STORE_VERSION = "2";
124124

125125
const App = () => (
126126
<Admin dataProvider={dataProvider} store={localStorageStore(STORE_VERSION)}>

0 commit comments

Comments
 (0)