Skip to content

Commit

Permalink
chore: added option getOnInit atomstorage
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Dec 5, 2024
1 parent eb117c7 commit caad367
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/helpers/atoms/App.atom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ export const showLeftPanelAtom = atom<boolean>(true)

export const showRightPanelAtom = atomWithStorage<boolean>(
SHOW_RIGHT_PANEL,
false
false,
undefined,
{ getOnInit: true }
)

export const showSystemMonitorPanelAtom = atom<boolean>(false)
Expand Down

0 comments on commit caad367

Please sign in to comment.