mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
14 lines
254 B
TypeScript
14 lines
254 B
TypeScript
import Alert from 'sentry/components/alert';
|
|
|
|
interface Props {
|
|
error: Error;
|
|
}
|
|
|
|
export default function ErrorStory({error}: Props) {
|
|
return (
|
|
<Alert type="error" showIcon>
|
|
<strong>{error.name}:</strong> {error.message}
|
|
</Alert>
|
|
);
|
|
}
|