set header for axios - set get api bank cards
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
import create from 'zustand';
|
||||
|
||||
interface AuthState {
|
||||
token: string | null;
|
||||
setToken: (token: string | null) => void;
|
||||
}
|
||||
|
||||
export const useAuthStore = create<AuthState>((set) => ({
|
||||
token: null,
|
||||
setToken: (token) => set({ token }),
|
||||
}));
|
||||
Reference in New Issue
Block a user