Skip to content

Commit dda440a

Browse files
committed
Prevent blink of sidebar
1 parent d3a0baf commit dda440a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/state/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const chatFamily = atomFamily(
2323
)
2424

2525
export const licenseKeyAtom = atomWithStorage('licenseKey', '', undefined, { unstable_getOnInit: true })
26-
export const sidebarCollapsedAtom = atomWithStorage('sidebarCollapsed', false)
26+
export const sidebarCollapsedAtom = atomWithStorage('sidebarCollapsed', false, undefined, { unstable_getOnInit: true })
2727
export const themeColorAtom = atomWithStorage('themeColor', getDefaultThemeColor())
2828
export const followArcThemeAtom = atomWithStorage('followArcTheme', false)
2929
export const sidePanelBotAtom = atomWithStorage<BotId>('sidePanelBot', 'chatgpt')

0 commit comments

Comments
 (0)