Skip to content

Commit

Permalink
docs(sidebar): Fix sidebar toggle text for consistent behavior (#5428)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacksonmills authored Oct 21, 2024
1 parent 3febcdc commit 182f208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default function AppSidebar() {
variant="ghost"
>
{open ? <PanelLeftClose /> : <PanelLeftOpen />}
<span>{open ? "Open" : "Close"} Sidebar</span>
<span>{open ? "Close" : "Open"} Sidebar</span>
</Button>
</header>
</SidebarInset>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default function AppSidebar() {
variant="ghost"
>
{open ? <PanelLeftClose /> : <PanelLeftOpen />}
<span>{open ? "Open" : "Close"} Sidebar</span>
<span>{open ? "Close" : "Open"} Sidebar</span>
</Button>
</header>
</SidebarInset>
Expand Down

0 comments on commit 182f208

Please sign in to comment.