mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 19:06:51 +08:00
12 lines
311 B
TypeScript
12 lines
311 B
TypeScript
import { create } from 'zustand'
|
|
|
|
type DatasetStore = {
|
|
showExternalApiPanel: boolean
|
|
setShowExternalApiPanel: (show: boolean) => void
|
|
}
|
|
|
|
export const useDatasetStore = create<DatasetStore>(set => ({
|
|
showExternalApiPanel: false,
|
|
setShowExternalApiPanel: show => set({ showExternalApiPanel: show }),
|
|
}))
|