import { create } from 'zustand';

interface TabState {
  lastVisitedTab: string | null;
  setLastVisitedTab: (tab: string | null) => void;
}

export const useTabStore = create<TabState>((set) => ({
  lastVisitedTab: null,
  setLastVisitedTab: (tab) => set({ lastVisitedTab: tab }),
}));
