refactor(admin-accounts): resolve import specifier via the active import map
This commit is contained in:
parent
2b2499849f
commit
f08211e2a1
|
@ -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]!;
|
||||||
|
|
Loading…
Reference in New Issue