Shared error-state view showing a localized failure message and a retry button. Used by data-loading screens and sections so a failed fetch is never rendered as a misleading empty state.
ErrorStateProps configuring message, retry, and layout.
{loadError && !data ? ( <ErrorState message={strings.common.error} retryLabel={strings.common.retry} onRetry={reload} />) : null} Copy
{loadError && !data ? ( <ErrorState message={strings.common.error} retryLabel={strings.common.retry} onRetry={reload} />) : null}
Shared error-state view showing a localized failure message and a retry button. Used by data-loading screens and sections so a failed fetch is never rendered as a misleading empty state.