M96820
feat: add ai-comic-factory
903fafb
raw
history blame
282 Bytes
import { useStore } from "@/app/store"
export function useIsBusy() {
const isGeneratingStory = useStore(s => s.isGeneratingStory)
const atLeastOnePanelIsBusy = useStore(s => s.atLeastOnePanelIsBusy)
const isBusy = isGeneratingStory || atLeastOnePanelIsBusy
return isBusy
}