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

This commit is contained in:
Renaud Chaput 2024-01-12 11:31:24 +01:00 committed by GitHub
parent c6684aa1e3
commit 608f66f978
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
106 changed files with 255 additions and 250 deletions

View file

@ -8,8 +8,8 @@ import { NavLink, Switch, Route } from 'react-router-dom';
import { connect } from 'react-redux';
import { ReactComponent as SearchIcon } from '@material-symbols/svg-600/outlined/search.svg';
import { ReactComponent as TagIcon } from '@material-symbols/svg-600/outlined/tag.svg';
import SearchIcon from '@material-symbols/svg-600/outlined/search.svg?react';
import TagIcon from '@material-symbols/svg-600/outlined/tag.svg?react';
import Column from 'mastodon/components/column';
import ColumnHeader from 'mastodon/components/column_header';

View file

@ -9,9 +9,9 @@ import { List as ImmutableList } from 'immutable';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { connect } from 'react-redux';
import { ReactComponent as FindInPageIcon } from '@material-symbols/svg-600/outlined/find_in_page.svg';
import { ReactComponent as PeopleIcon } from '@material-symbols/svg-600/outlined/group.svg';
import { ReactComponent as TagIcon } from '@material-symbols/svg-600/outlined/tag.svg';
import FindInPageIcon from '@material-symbols/svg-600/outlined/find_in_page.svg?react';
import PeopleIcon from '@material-symbols/svg-600/outlined/group.svg?react';
import TagIcon from '@material-symbols/svg-600/outlined/tag.svg?react';
import { submitSearch, expandSearch } from 'mastodon/actions/search';
import { ImmutableHashtag as Hashtag } from 'mastodon/components/hashtag';