import { create } from 'zustand' interface SelectionStore { selectedPbiId: string | null selectPbi: (id: string | null) => void } export const useSelectionStore = create((set) => ({ selectedPbiId: null, selectPbi: (id) => set({ selectedPbiId: id }), }))