added socket

This commit is contained in:
Samandar Turgunboyev
2025-11-28 19:18:27 +05:00
parent d224cbeb38
commit 6cf0a4200b

View File

@@ -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: {