Skip to content

Commit 463d388

Browse files
committed
update UserProps type definition
1 parent 964c44d commit 463d388

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

context/reducers/usersReducer.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ export type UserProps = {
44
_id: string;
55
chatAuthId: string;
66
username: string;
7-
avatar: string;
7+
avatar?: string;
88
online: boolean;
99
socketId?: string | undefined;
10-
privateKey: string;
11-
publicKey: string;
10+
privateKey?: string;
11+
publicKey?: string;
1212
};
1313

1414
export type UserState = {

0 commit comments

Comments
 (0)