mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2026-01-18 04:54:20 +01:00
13 lines
286 B
TypeScript
13 lines
286 B
TypeScript
import type { FC } from "react";
|
|
import type { FallbackProps } from "react-error-boundary";
|
|
|
|
export const RootErrorFallback: FC<FallbackProps> = ({ error }) => {
|
|
return (
|
|
<div>
|
|
<h1>Error</h1>
|
|
<p>Something went wrong</p>
|
|
<p>{error.message}</p>
|
|
</div>
|
|
);
|
|
};
|