0
0
Fork 0

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

@ -7,7 +7,7 @@ import classNames from 'classnames';
import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component';
import LinkIcon from 'mastodon/../material-icons/400-24px/link.svg?react';
import LinkIcon from '@/material-icons/400-24px/link.svg?react';
import { Icon } from 'mastodon/components/icon';
const filename = url => url.split('/').pop().split('#')[0].split('?')[0];