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

@@ -8,7 +8,7 @@ import classNames from 'classnames';
import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component';
import { ReactComponent as LockIcon } from '@material-symbols/svg-600/outlined/lock.svg';
import LockIcon from '@material-symbols/svg-600/outlined/lock.svg?react';
import { length } from 'stringz';
import { Icon } from 'mastodon/components/icon';