Update user.context.tsx

This commit is contained in:
Enno Gelhaus 2025-08-01 14:59:53 +02:00 committed by GitHub
parent 894dfdbd34
commit d8f790b2e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,6 @@ export const ContextWrapper: FC<{
role: 'USER' | 'ADMIN' | 'SUPERADMIN';
publicApi: string;
totalChannels: number;
admin: boolean; // Add admin field from backend response
};
children: ReactNode;
}> = ({ user, children }) => {