mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-27 10:14:39 +01:00
refactor(admin-accounts): resolve import specifier via the active import map
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { type DittoEvent } from '@/interfaces/DittoEvent.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) {
|
||||
const d = event.tags.find(([name]) => name === 'd')?.[1]!;
|
||||
|
||||
Reference in New Issue
Block a user