diff --git a/src/components/IncidentTable/subcomponents/EmptyIncidentsComponent.jsx b/src/components/IncidentTable/subcomponents/EmptyIncidentsComponent.jsx index a6f647b1d..7a327b5cf 100644 --- a/src/components/IncidentTable/subcomponents/EmptyIncidentsComponent.jsx +++ b/src/components/IncidentTable/subcomponents/EmptyIncidentsComponent.jsx @@ -7,9 +7,8 @@ import { useTranslation, } from 'react-i18next'; -import { - ReactComponent as EmptyIncidents, -} from 'src/assets/images/empty_incidents.svg'; +// eslint-disable-next-line import/no-unresolved +import EmptyIncidents from 'src/assets/images/empty_incidents.svg?react'; const EmptyIncidentsComponent = ({ message, diff --git a/src/components/NavigationBar/NavigationBarComponent.jsx b/src/components/NavigationBar/NavigationBarComponent.jsx index 098e780df..252295ff6 100644 --- a/src/components/NavigationBar/NavigationBarComponent.jsx +++ b/src/components/NavigationBar/NavigationBarComponent.jsx @@ -61,9 +61,8 @@ import { version as PD_APP_VERSION, } from 'src/config/version'; -import { - ReactComponent as Logo, -} from 'src/assets/images/pd_logo_black.svg'; +// eslint-disable-next-line import/no-unresolved +import Logo from 'src/assets/images/pd_logo_black.svg?react'; import GlobalSearchComponent from 'src/components/GlobalSearch/GlobalSearchComponent'; import QuerySettingsComponent from 'src/components/QuerySettings/QuerySettingsComponent';