'use client'; import React from 'react'; interface SafeErrorStateProps { title?: string; message?: string; actionLabel?: string; onAction?: () => void; onRetry?: () => void; } export function SafeErrorState({ title = 'Notice', message = "Club information couldn't be loaded.", actionLabel, onAction, onRetry, }: SafeErrorStateProps) { return (
shield_with_heart

{title}

{message}

{onRetry && ( )} {onAction && actionLabel && ( )}
); }