Skip to content

Commit 0035751

Browse files
committed
chore(playground): fix mobile layout render
1 parent 84587ba commit 0035751

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Playground/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export default function Playground() {
164164
description="Learn and experiment with polkadot-api"
165165
rightContent={<NetworkBadge network={selectedNetwork} />}
166166
>
167-
{sidebarCollapsed ? <MainContent /> : <SidebarContent />}
167+
{sidebarCollapsed ? MainContent : SidebarContent}
168168

169169
<MobileSidebarToggle
170170
isCollapsed={sidebarCollapsed}

0 commit comments

Comments
 (0)