Skip to content

Commit

Permalink
Changes user status to follow prisma model
Browse files Browse the repository at this point in the history
  • Loading branch information
julianochoi committed Sep 9, 2023
1 parent a85e445 commit cc75e03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/StatusTag/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
type StatusTagProps = {
status: "online" | "offline" | "away";
status: "online" | "offline" | "away" | "busy";
};

export function StatusTag({ status }: StatusTagProps) {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/contexts/AuthContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export type User = {
displayName: string;
email: string;
avatar: string;
status: string;
status: "online" | "offline" | "away" | "busy";
victory: number;
mfaEnabled: boolean;
};
Expand Down

0 comments on commit cc75e03

Please sign in to comment.