UI: wrap SidebarMenu with Suspense

Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1562
This commit is contained in:
Alex Gleason 2023-10-12 00:29:02 -05:00
parent d0170dc449
commit 645aa494f5
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -500,7 +500,9 @@ const UI: React.FC<IUI> = ({ children }) => {
)}
{me && (
<SidebarMenu />
<Suspense>
<SidebarMenu />
</Suspense>
)}
{me && features.chats && (