diff --git a/src/sections/dataset/dataset-alerts/DatasetAlerts.tsx b/src/sections/dataset/dataset-alerts/DatasetAlerts.tsx
index 3c16da424..a050fc4fd 100644
--- a/src/sections/dataset/dataset-alerts/DatasetAlerts.tsx
+++ b/src/sections/dataset/dataset-alerts/DatasetAlerts.tsx
@@ -1,5 +1,5 @@
import { Alert } from '@iqss/dataverse-design-system'
-import { DatasetAlert, DatasetAlertMessageKey } from '../../../dataset/domain/models/Dataset'
+import { DatasetAlert } from '../../../dataset/domain/models/Dataset'
import { useTranslation } from 'react-i18next'
import styles from './DatasetAlerts.module.scss'
import parse from 'html-react-parser'
@@ -13,7 +13,7 @@ export function DatasetAlerts({ alerts }: DatasetAlertsProps) {
return (
- {alerts.map((alert: DatasetAlert, index) => {
+ {alerts.map((alert: DatasetAlert) => {
const translatedHTML = alert.dynamicFields
? t(`alerts.${alert.message}`, alert.dynamicFields)
: t(`alerts.${alert.message}`)
diff --git a/src/stories/dataset/dataset-alerts/DatasetAlert.stories.tsx b/src/stories/dataset/dataset-alerts/DatasetAlert.stories.tsx
index c0008df1c..c9e9a6832 100644
--- a/src/stories/dataset/dataset-alerts/DatasetAlert.stories.tsx
+++ b/src/stories/dataset/dataset-alerts/DatasetAlert.stories.tsx
@@ -8,7 +8,6 @@ import {
} from '../../../dataset/domain/models/Dataset'
import { DatasetAlerts } from '../../../sections/dataset/dataset-alerts/DatasetAlerts'
import { WithI18next } from '../../WithI18next'
-import { AlertVariant } from '@iqss/dataverse-design-system/dist/components/alert/AlertVariant'
const meta: Meta = {
title: 'Sections/Dataset Page/DatasetAlerts',