added socket
This commit is contained in:
@@ -11,7 +11,7 @@ type State = {
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
active: boolean;
|
||||
id: number;
|
||||
id?: number;
|
||||
} | null;
|
||||
};
|
||||
|
||||
@@ -27,7 +27,7 @@ type Actions = {
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
active: boolean;
|
||||
id: number;
|
||||
id?: number;
|
||||
} | null,
|
||||
) => void;
|
||||
};
|
||||
@@ -39,7 +39,7 @@ export const userInfoStore = create<State & Actions>((set) => ({
|
||||
first_name: string;
|
||||
last_name: string;
|
||||
active: boolean;
|
||||
id: number;
|
||||
id?: number;
|
||||
} | null,
|
||||
) => set(() => ({ loginUser: login })),
|
||||
user: {
|
||||
|
||||
Reference in New Issue
Block a user