fix UserMenu rendered twice on Main page (#3110)
fix: fix UserMenu rendered twice on Main page
This commit is contained in:
parent
2e0e17ee8a
commit
4028b5a652
@ -15,13 +15,9 @@ export default function Main() {
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<UserMenu>
|
||||
<div className="w-screen h-screen overflow-hidden bg-theme-bg-container flex">
|
||||
{!isMobile && <Sidebar />}
|
||||
<DefaultChatContainer />
|
||||
</div>
|
||||
</UserMenu>
|
||||
</>
|
||||
<div className="w-screen h-screen overflow-hidden bg-theme-bg-container flex">
|
||||
{!isMobile && <Sidebar />}
|
||||
<DefaultChatContainer />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user