Commit
•
beb6799
1
Parent(s):
a899dc1
fix the 'generating' boolean condition
Browse files- src/app/main.tsx +3 -3
src/app/main.tsx
CHANGED
@@ -34,9 +34,9 @@ export function Main() {
|
|
34 |
const setVideoGenerationStatus = useStore(s => s.setVideoGenerationStatus)
|
35 |
|
36 |
const hasPendingTasks =
|
37 |
-
storyGenerationStatus === "generating"
|
38 |
-
voiceGenerationStatus === "generating"
|
39 |
-
imageGenerationStatus === "generating"
|
40 |
videoGenerationStatus === "generating"
|
41 |
|
42 |
const isBusy = status === "generating" || hasPendingTasks
|
|
|
34 |
const setVideoGenerationStatus = useStore(s => s.setVideoGenerationStatus)
|
35 |
|
36 |
const hasPendingTasks =
|
37 |
+
storyGenerationStatus === "generating" ||
|
38 |
+
voiceGenerationStatus === "generating" ||
|
39 |
+
imageGenerationStatus === "generating" ||
|
40 |
videoGenerationStatus === "generating"
|
41 |
|
42 |
const isBusy = status === "generating" || hasPendingTasks
|