diff --git a/components/admin/alerts/AdminNewAlert.tsx b/components/admin/alerts/AdminNewAlert.tsx index 5812e0429..e95899e7e 100644 --- a/components/admin/alerts/AdminNewAlert.tsx +++ b/components/admin/alerts/AdminNewAlert.tsx @@ -5,7 +5,6 @@ import Alert from '../../Alert' import { FormCard } from '../../../components/FormCard' import ADD_ALERT from '../../../graphql/queries/addAlert' import { Alert as AlertType } from '../../../graphql' -import noop from '../../../helpers/noop' import { alertValidation } from '../../../helpers/formValidation' import { formChange } from '../../../helpers/formChange' import { @@ -80,7 +79,6 @@ export const NewAlert: React.FC = ({ setAlerts }) => { id: '-1', ...makeGraphqlVariable(alertProperties).variables }} - onDismiss={noop} />
diff --git a/components/admin/alerts/__snapshots__/AdminNewAlert.test.js.snap b/components/admin/alerts/__snapshots__/AdminNewAlert.test.js.snap index a70cf2223..904e79bfc 100644 --- a/components/admin/alerts/__snapshots__/AdminNewAlert.test.js.snap +++ b/components/admin/alerts/__snapshots__/AdminNewAlert.test.js.snap @@ -12,14 +12,9 @@ exports[`AdminLewAlert component Should create new alert 1`] = ` class="mb-3" >