mirror of
https://github.com/MCKero6423/fuwari.git
synced 2026-10-02 10:59:10 +00:00
feat: minor fixes
This commit is contained in:
1 parent
75d87f3afc
commit
ea4a453e25
14 files changed
+193
-104
No files matched your search
@@ -51,9 +51,9 @@ function formatDate(date: Date) {
|
||||
return `${month}-${day}`;
|
||||
}
|
||||
|
||||
|
||||
// console.log(groups)
|
||||
|
||||
function formatTag(tag: string[]) {
|
||||
return tag.map(t => `#${t}`).join(' ');
|
||||
}
|
||||
|
||||
---
|
||||
|
||||
@@ -96,7 +96,7 @@ function formatDate(date: Date) {
|
||||
<div class="w-[15%] text-left text-sm transition
|
||||
whitespace-nowrap overflow-ellipsis overflow-hidden
|
||||
text-black/30 dark:text-white/30"
|
||||
>#Test #Markdown</div>
|
||||
>{formatTag(post.data.tags)}</div>
|
||||
</div>
|
||||
</Button>
|
||||
</a>
|
||||
|
||||
Reference in new issue
Block a user