sync bank card api and complete it
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { create } from "zustand";
|
||||
|
||||
type UserType = {
|
||||
token: string | null
|
||||
}
|
||||
|
||||
const useUserStore = create<UserType>((set) => ({
|
||||
token: '',
|
||||
setToken: (token: string | null) => {
|
||||
set({ token: token });
|
||||
},
|
||||
}));
|
||||
|
||||
export default useUserStore;
|
||||
Reference in New Issue
Block a user