Skip to content

Commit

Permalink
svgs now export as default with react query
Browse files Browse the repository at this point in the history
Signed-off-by: Gavin Reynolds <[email protected]>
  • Loading branch information
gsreynolds committed Jun 17, 2024
1 parent bdc57ce commit f4e6fe0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 2 additions & 3 deletions src/components/NavigationBar/NavigationBarComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit f4e6fe0

Please sign in to comment.