Skip to content

Commit

Permalink
Add missing suspense for studio
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed May 7, 2024
1 parent e9266ef commit 994e038
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/atlas/src/views/studio/StudioLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,15 @@ const _StudioLayout = () => {
</Routes>
</Suspense>
</MainContainer>
{channelSet && <VideoWorkspace />}
<Suspense
fallback={
<LoadingStudioContainer>
<Spinner size="large" />
</LoadingStudioContainer>
}
>
{channelSet && <VideoWorkspace />}
</Suspense>
</>
)}
</>
Expand Down

0 comments on commit 994e038

Please sign in to comment.