refactor(admin-accounts): resolve import specifier via the active import map

This commit is contained in:
P. Reis 2024-05-04 10:29:08 -03:00
parent 2b2499849f
commit f08211e2a1
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
import { type DittoEvent } from '@/interfaces/DittoEvent.ts'; import { type DittoEvent } from '@/interfaces/DittoEvent.ts';
import { nostrDate } from '@/utils.ts'; import { nostrDate } from '@/utils.ts';
import { accountFromPubkey, renderAccount } from './accounts.ts'; import { accountFromPubkey, renderAccount } from '@/views/mastodon/accounts.ts';
async function renderAdminAccount(event: DittoEvent) { async function renderAdminAccount(event: DittoEvent) {
const d = event.tags.find(([name]) => name === 'd')?.[1]!; const d = event.tags.find(([name]) => name === 'd')?.[1]!;