diff --git a/app/javascript/mastodon/components/icon.tsx b/app/javascript/mastodon/components/icon.tsx index d53675e41..dbf583960 100644 --- a/app/javascript/mastodon/components/icon.tsx +++ b/app/javascript/mastodon/components/icon.tsx @@ -25,7 +25,9 @@ export const Icon: React.FC = ({ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition if (!IconComponent) { if (process.env.NODE_ENV !== 'production') { - throw new Error(` is missing an "icon" prop.`); + throw new Error( + ` is missing an "icon" prop.`, + ); } IconComponent = CheckBoxOutlineBlankIcon; diff --git a/app/javascript/mastodon/features/follow_requests/index.jsx b/app/javascript/mastodon/features/follow_requests/index.jsx index 796254e0e..8e17607fd 100644 --- a/app/javascript/mastodon/features/follow_requests/index.jsx +++ b/app/javascript/mastodon/features/follow_requests/index.jsx @@ -8,6 +8,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { connect } from 'react-redux'; +import { ReactComponent as PersonAddIcon } from '@material-symbols/svg-600/outlined/person_add.svg'; import { debounce } from 'lodash'; import { fetchFollowRequests, expandFollowRequests } from '../../actions/accounts'; @@ -67,7 +68,7 @@ class FollowRequests extends ImmutablePureComponent { ); return ( - + ; + iconElement = ; } return (