fix: loading and calc rem (#1006)
This commit is contained in:
parent
c1602aafc7
commit
70e24b7594
2 changed files with 11 additions and 5 deletions
|
|
@ -494,8 +494,11 @@ const Main: FC<IMainProps> = ({
|
|||
if (appUnavailable)
|
||||
return <AppUnavailable isUnknwonReason={isUnknwonReason} />
|
||||
|
||||
if (!appId || !siteInfo || !promptConfig)
|
||||
return <Loading type='app' />
|
||||
if (!appId || !siteInfo || !promptConfig) {
|
||||
return <div className='flex h-screen w-full'>
|
||||
<Loading type='app' />
|
||||
</div>
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue