

import { ErrorBanner } from '../../ui/ErrorBanner';

interface AuthErrorProps {
  action: string;
}

export function AuthError({ action }: AuthErrorProps) {
  return (
    <ErrorBanner 
      message={`Failed to load ${action} page`} 
      title="Error"
      variant="error"
    />
  );
}
