mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
13 lines
298 B
TypeScript
13 lines
298 B
TypeScript
import {Alert} from 'sentry/components/alert';
|
|
import {t} from 'sentry/locale';
|
|
|
|
type Props = {
|
|
message?: React.ReactNode;
|
|
};
|
|
|
|
function NoStackTraceMessage({message}: Props) {
|
|
return <Alert type="error">{message ?? t('No or unknown stacktrace')}</Alert>;
|
|
}
|
|
|
|
export default NoStackTraceMessage;
|