File size: 317 Bytes
149698e
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import { create } from 'zustand';

interface SettingsState {
  activeTab: 'branches' | 'ai' | 'account';
  setActiveTab: (tab: 'branches' | 'ai' | 'account') => void;
}

export const useSettingsStore = create<SettingsState>((set) => ({
  activeTab: 'branches',
  setActiveTab: (activeTab) => set({ activeTab }),
}));