Update user.context.tsx
This commit is contained in:
parent
47e1795503
commit
894dfdbd34
1 changed files with 0 additions and 2 deletions
|
|
@ -19,7 +19,6 @@ export const UserContext = createContext<
|
|||
impersonate: boolean;
|
||||
allowTrial: boolean;
|
||||
isTrailing: boolean;
|
||||
admin?: boolean; // Add admin field from backend response
|
||||
})
|
||||
>(undefined);
|
||||
export const ContextWrapper: FC<{
|
||||
|
|
@ -49,7 +48,6 @@ export const ContextWrapper: FC<{
|
|||
orgId: user.orgId,
|
||||
role: user.role,
|
||||
tier: user.tier,
|
||||
admin: user.admin, // Use admin field from backend response
|
||||
});
|
||||
} else {
|
||||
setSentryUserContext(null);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue