'use client' import type { FC, PropsWithChildren } from 'react' import * as React from 'react' import { useUserProfile } from '@/service/use-common' import Loading from './base/loading' const Splash: FC = () => { const { isPending, data } = useUserProfile() if (isPending || !data?.profile) { return (
) } return null } export default React.memo(Splash)