diff --git a/app/web/src/components/IdeContainer/IdeContainer.tsx b/app/web/src/components/IdeContainer/IdeContainer.tsx index 9d0ce9f..187ad89 100644 --- a/app/web/src/components/IdeContainer/IdeContainer.tsx +++ b/app/web/src/components/IdeContainer/IdeContainer.tsx @@ -21,7 +21,7 @@ const SmallLoadingPing = ( ) -const BigLoadingPing = () => ( +export const BigLoadingPing = (
diff --git a/app/web/src/components/IdeViewer/IdeViewer.tsx b/app/web/src/components/IdeViewer/IdeViewer.tsx index 305c2f4..38b24b9 100644 --- a/app/web/src/components/IdeViewer/IdeViewer.tsx +++ b/app/web/src/components/IdeViewer/IdeViewer.tsx @@ -163,7 +163,7 @@ const IdeViewer = ({ Loading }) => { const indigo900 = '#312E81' return (
- {state.isLoading && } + {state.isLoading && Loading} {image && (
{ const { logOut, isAuthenticated, currentUser, client } = useAuth() @@ -43,21 +44,14 @@ const ProfileSlashLogin = () => {
{isAuthenticated ? (
) : ( diff --git a/app/web/src/components/ProfileViewer/ProfileViewer.tsx b/app/web/src/components/ProfileViewer/ProfileViewer.tsx index 87ede95..4caa79f 100644 --- a/app/web/src/components/ProfileViewer/ProfileViewer.tsx +++ b/app/web/src/components/ProfileViewer/ProfileViewer.tsx @@ -1,12 +1,7 @@ import { lazy, Suspense } from 'react' const IdeViewer = lazy(() => import('src/components/IdeViewer/IdeViewer')) import { use3dViewerResize } from 'src/helpers/hooks/use3dViewerResize' - -const BigLoadingPing = () => ( -
-
-
-) +import { BigLoadingPing } from 'src/components/IdeContainer/IdeContainer' const ProfileViewer = () => { const { viewerDomRef } = use3dViewerResize()