12 lines
248 B
TypeScript
12 lines
248 B
TypeScript
import { ListError } from '../ui/ListError';
|
|
|
|
export function ErrorState({
|
|
message,
|
|
onRetry,
|
|
}: {
|
|
message: string;
|
|
onRetry: () => void;
|
|
}) {
|
|
return <ListError title="Unable to load repair orders" message={message} onRetry={onRetry} />;
|
|
}
|