Files
gridpilot.gg/apps/website/ui/AuthError.tsx
2026-01-14 23:31:57 +01:00

19 lines
326 B
TypeScript

'use client';
import React from 'react';
import { ErrorBanner } from './ErrorBanner';
interface AuthErrorProps {
action: string;
}
export function AuthError({ action }: AuthErrorProps) {
return (
<ErrorBanner
message={`Failed to load ${action} page`}
title="Error"
variant="error"
/>
);
}