Retry button on introspection errors

This commit is contained in:
Gregory Schier
2023-06-12 13:20:42 -07:00
parent 4e15eb197f
commit 2c75abce09
8 changed files with 62 additions and 14 deletions

View File

@@ -0,0 +1,11 @@
interface Props {
children: string;
}
export function FormattedError({ children }: Props) {
return (
<pre className="text-sm select-auto cursor-text bg-gray-100 p-3 rounded whitespace-normal border border-red-500 border-dashed">
{children}
</pre>
);
}