wwf
2025-05-20 938c3e5a587ce950a94964ea509b9e7f8834dfae
1
2
3
4
5
6
7
8
9
10
11
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 }),
}))