Skip to content

Commit

Permalink
updated readme and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
christianmat committed Jan 4, 2024
1 parent 6dd3fdb commit 2f52fa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ import { CentralStorage } from 'central-storage'
const centralStorage = new CentralStorage({ serverUrl: 'https://server.centralstorage.dev' })


const hasSeenModals = await centralStorage.getItem('hasSeenNewFeature')
const hasSeenNewFeature = await centralStorage.getItem('hasSeenNewFeature')

if (!hasSeenModals) {
if (!hasSeenNewFeature) {
await centralStorage.setItem('hasSeenNewFeature', true)
}
```
Expand Down

0 comments on commit 2f52fa7

Please sign in to comment.