Skip to content

Commit

Permalink
fix EmployeSCope type in types.tsx (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyangzheng authored Feb 9, 2025
1 parent b5009f3 commit c43677f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/web/src/context/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
FormFields,
FieldGroups,
} from '@web/components/createFormTemplate/createFormTemplateEditor/FormEditor';
import { EmployeeScope } from '@prisma/client';
import { Scope } from '@web/client';
import { RegisterEmployeeDto } from '@web/client';

// for storage in context
Expand All @@ -14,7 +14,7 @@ export type User = {
email: string;
firstName: string;
lastName: string;
scope: EmployeeScope;
scope: Scope;
};
// jwt payload returned from server
export type jwtPayload = {
Expand All @@ -24,7 +24,7 @@ export type jwtPayload = {
email: string;
firstName: string;
lastName: string;
scope: EmployeeScope;
scope: Scope;
};

export interface AuthContextType {
Expand Down

0 comments on commit c43677f

Please sign in to comment.