mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 10:23:14 +00:00
fix: collapse git panel by default (#1494)
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
This commit is contained in:
parent
4cabdb2351
commit
d0db48eacd
1 changed files with 2 additions and 2 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue