File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import {GetStaticPropsContext} from 'next'
99import Head from 'next/head'
1010import { useRouter } from 'next/router'
1111import { useEffect , useMemo , useState } from 'react'
12+ import { HomeLoadingAnimation } from 'web/components/home/home-loading-animation'
1213import { Col } from 'web/components/layout/col'
1314import { PageBase } from 'web/components/page-base'
1415import { ProfileInfo , ProfileInfoSkeleton } from 'web/components/profile/profile-info'
@@ -312,7 +313,7 @@ function UserPageInner(props: ActiveUserPageProps) {
312313 </ Head >
313314 ) }
314315
315- { currentUser !== undefined && (
316+ { currentUser !== undefined ? (
316317 < Col className = { 'gap-4' } >
317318 { profile ? (
318319 < ProfileInfo
@@ -326,6 +327,8 @@ function UserPageInner(props: ActiveUserPageProps) {
326327 < ProfileInfoSkeleton />
327328 ) }
328329 </ Col >
330+ ) : (
331+ < HomeLoadingAnimation />
329332 ) }
330333 </ PageBase >
331334 )
You can’t perform that action at this time.
0 commit comments