Change icon SVG imports to use a default import (#28709)

This commit is contained in:
Renaud Chaput authored and GitHub committed 2024-01-12 10:31:24 +00:00
1 parent c6684aa1e3
commit 608f66f978
106 files changed
+255 -250

No files matched your search

@@ -4,7 +4,7 @@ import { defineMessages, FormattedMessage, injectIntl } from 'react-intl';
import ImmutablePureComponent from 'react-immutable-pure-component';
import { ReactComponent as CloseIcon } from '@material-symbols/svg-600/outlined/close.svg';
import CloseIcon from '@material-symbols/svg-600/outlined/close.svg?react';
import api from 'mastodon/api';
import { IconButton } from 'mastodon/components/icon_button';