Skip to content

Commit 05f1d71

Browse files
committed
Open screen animation
1 parent c3cf89b commit 05f1d71

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • chat2db-client/src/layouts/GlobalLayout

chat2db-client/src/layouts/GlobalLayout/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const GlobalLayout = () => {
6767
// return (
6868
// <div className={styles.app}>
6969
// <AppTitleBar className={styles.appTitleBar} />
70-
// <OpenScreenAnimation />
70+
// <Spin className={styles.loadingBox} size="large" />
7171
// </div>
7272
// );
7373
// }
@@ -100,6 +100,7 @@ const GlobalLayout = () => {
100100
return (
101101
<ConfigProvider locale={isEn ? antdEnUS : antdZhCN} theme={antdTheme}>
102102
<div className={styles.app}>
103+
{/* Open screen animation */}
103104
{(serviceStatus === ServiceStatus.PENDING || curUser === null) && <OpenScreenAnimation />}
104105
<AppTitleBar className={styles.appTitleBar} />
105106
<div className={styles.appBody}>

0 commit comments

Comments
 (0)