polish widget code

This commit is contained in:
Ren Amamiya
2023-09-29 09:11:38 +07:00
parent cb3c95b133
commit 2f87ed8949
22 changed files with 293 additions and 260 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ export function XhashtagWidget({ params }: { params: Widget }) {
try {
setWidget(db, {
kind: WidgetKinds.global.hashtag,
title: data.hashtag + ' in 24 hours ago',
title: data.hashtag,
content: data.hashtag.replace('#', ''),
});
// remove temp widget