File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -64,18 +64,17 @@ const Preview = memo(() => {
6464 < Center className = { styles . container } flex = { 1 } gap = { 8 } justify = { 'center' } ref = { ref } >
6565 { isAppInited ? (
6666 < >
67- { showProgress && (
68- < div className = { styles . process } >
69- { progress === 0 ? (
70- < Center className = { styles . waiting } gap = { 2 } height = { 72 } horizontal width = { 72 } >
71- < div > { t ( 'task.starting' ) } </ div >
72- < ReactAnimatedEllipsis / >
73- </ Center >
74- ) : (
67+ { showProgress &&
68+ ( progress === 0 ? (
69+ < Center className = { styles . waiting } gap = { 2 } height = { 72 } horizontal width = { 72 } >
70+ < div > { t ( 'task.starting' ) } </ div >
71+ < ReactAnimatedEllipsis / >
72+ </ Center >
73+ ) : (
74+ < div className = { styles . process } >
7575 < Progress percent = { progress } size = "small" type = "circle" />
76- ) }
77- </ div >
78- ) }
76+ </ div >
77+ ) ) }
7978 { showImage ? (
8079 < ImagePreview />
8180 ) : inLobeChat ? null : (
You can’t perform that action at this time.
0 commit comments