mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
16 lines
300 B
TypeScript
16 lines
300 B
TypeScript
import { useStore } from './store'
|
|
|
|
const SyncingDataModal = () => {
|
|
const isSyncingWorkflowDraft = useStore(s => s.isSyncingWorkflowDraft)
|
|
|
|
if (!isSyncingWorkflowDraft)
|
|
return null
|
|
|
|
return (
|
|
<div className='absolute inset-0 z-[9999]'>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default SyncingDataModal
|