Fix hidden text for mobile sidebar
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
@@ -163,7 +163,13 @@ export const Sidebar = ({
|
||||
);
|
||||
|
||||
return isMobileScreen ? (
|
||||
<MobileSidebar {...props}>{children}</MobileSidebar>
|
||||
<SidebarContext.Provider
|
||||
value={{
|
||||
isOpen: true,
|
||||
}}
|
||||
>
|
||||
<MobileSidebar {...props}>{children}</MobileSidebar>
|
||||
</SidebarContext.Provider>
|
||||
) : (
|
||||
<DesktopSidebar>{children}</DesktopSidebar>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user