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