From 6cf0a4200b1aecb44eefb90e6ac8fba2f6aa5ebc Mon Sep 17 00:00:00 2001 From: Samandar Turgunboyev Date: Fri, 28 Nov 2025 19:18:27 +0500 Subject: [PATCH] added socket --- src/shared/hooks/user-info.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/hooks/user-info.ts b/src/shared/hooks/user-info.ts index 978fa69..736055a 100644 --- a/src/shared/hooks/user-info.ts +++ b/src/shared/hooks/user-info.ts @@ -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((set) => ({ first_name: string; last_name: string; active: boolean; - id: number; + id?: number; } | null, ) => set(() => ({ loginUser: login })), user: {