refactor: Use path alias
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import renderImage from './image';
|
||||
import renderKey from './key';
|
||||
import config from '../../../config';
|
||||
import config from '@/config';
|
||||
import { ILocalUser } from '../../../models/entities/user';
|
||||
import { toHtml } from '../../../mfm/to-html';
|
||||
import { parse } from '../../../mfm/parse';
|
||||
@@ -9,7 +9,7 @@ import renderEmoji from './emoji';
|
||||
import { IIdentifier } from '../models/identifier';
|
||||
import renderHashtag from './hashtag';
|
||||
import { DriveFiles, UserProfiles } from '../../../models';
|
||||
import { getUserKeypair } from '../../../misc/keypair-store';
|
||||
import { getUserKeypair } from '@/misc/keypair-store';
|
||||
|
||||
export async function renderPerson(user: ILocalUser) {
|
||||
const id = `${config.url}/users/${user.id}`;
|
||||
|
Reference in New Issue
Block a user