Skip to content

Commit 96b9948

Browse files
authored
chore: add notice that all sections items will be removed when rejecting item (#1230)
1 parent eba73bc commit 96b9948

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/curated-corpus/components/RejectItemModal/RejectItemModal.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { Box, Grid, Typography } from '@mui/material';
2+
import { Alert, Box, Grid, Typography } from '@mui/material';
33
import { FormikValues } from 'formik';
44
import { FormikHelpers } from 'formik/dist/types';
55
import { ApprovedCorpusItem, Prospect } from '../../../api/generatedTypes';
@@ -35,6 +35,11 @@ export const RejectItemModal: React.FC<RejectProspectModalProps> = (
3535
<Typography variant="subtitle1">
3636
<em>Title</em>: {prospect.title}
3737
</Typography>
38+
<br />
39+
<Alert severity="warning">
40+
<strong>Notice</strong>: This item will be removed from all
41+
Sections.
42+
</Alert>
3843
</Box>
3944
</Grid>
4045
<Grid item xs={12}>

0 commit comments

Comments
 (0)