refactor widget

This commit is contained in:
Ren Amamiya
2023-08-30 16:21:42 +07:00
parent abe4d11498
commit aced6077bd
27 changed files with 544 additions and 246 deletions

View File

@@ -16,7 +16,7 @@ export function MentionUser({ pubkey }: { pubkey: string }) {
type="button"
onClick={() =>
setWidget(db, {
kind: WidgetKinds.user,
kind: WidgetKinds.local.user,
title: user?.nip05 || user?.name || user?.display_name,
content: pubkey,
})