We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 964c44d commit 463d388Copy full SHA for 463d388
context/reducers/usersReducer.ts
@@ -4,11 +4,11 @@ export type UserProps = {
4
_id: string;
5
chatAuthId: string;
6
username: string;
7
- avatar: string;
+ avatar?: string;
8
online: boolean;
9
socketId?: string | undefined;
10
- privateKey: string;
11
- publicKey: string;
+ privateKey?: string;
+ publicKey?: string;
12
};
13
14
export type UserState = {
0 commit comments