mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
25 lines
517 B
TypeScript
25 lines
517 B
TypeScript
import ClippedBox from 'sentry/components/clippedBox';
|
|
import ContextBlock from 'sentry/components/events/contexts/contextBlock';
|
|
import {t} from 'sentry/locale';
|
|
|
|
type Props = {
|
|
alias: string;
|
|
data: Record<string, any>;
|
|
};
|
|
|
|
export function ReduxContext({data}: Props) {
|
|
return (
|
|
<ClippedBox clipHeight={250}>
|
|
<ContextBlock
|
|
data={[
|
|
{
|
|
key: 'value',
|
|
subject: t('Latest State'),
|
|
value: data,
|
|
},
|
|
]}
|
|
/>
|
|
</ClippedBox>
|
|
);
|
|
}
|