fix: collapse git panel by default (#1494)

Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
This commit is contained in:
Johannes du Plessis 2026-06-10 15:32:11 -07:00 • committed by GitHub
parent 4cabdb2351
commit d0db48eacd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,8 +74,8 @@ function readStoredPanelWidth(): number {
}
function readStoredPanelCollapsed(): boolean {
if (typeof window === "undefined") return false
return window.localStorage.getItem(PANEL_STORAGE_COLLAPSED) === "1"
if (typeof window === "undefined") return true
return window.localStorage.getItem(PANEL_STORAGE_COLLAPSED) !== "0"
}
function PanelResizeHandle({