Add a new @/ alias for the root frontend directory and use it where possible (#28753)

This commit is contained in:
Renaud Chaput 2024-01-16 11:27:26 +01:00 committed by GitHub
parent f0abba67db
commit 01b6c83c36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
108 changed files with 253 additions and 249 deletions

View file

@ -8,9 +8,9 @@ import { withRouter } from 'react-router-dom';
import ImmutablePropTypes from 'react-immutable-proptypes';
import CancelIcon from 'mastodon/../material-icons/400-24px/cancel-fill.svg?react';
import CloseIcon from 'mastodon/../material-icons/400-24px/close.svg?react';
import SearchIcon from 'mastodon/../material-icons/400-24px/search.svg?react';
import CancelIcon from '@/material-icons/400-24px/cancel-fill.svg?react';
import CloseIcon from '@/material-icons/400-24px/close.svg?react';
import SearchIcon from '@/material-icons/400-24px/search.svg?react';
import { Icon } from 'mastodon/components/icon';
import { domain, searchEnabled } from 'mastodon/initial_state';
import { HASHTAG_REGEX } from 'mastodon/utils/hashtags';