This commit is contained in:
TQY
2025-10-17 10:43:04 +08:00
parent 8c1c0abd8e
commit bf6dff352e
6 changed files with 51 additions and 51 deletions

View File

@@ -40,7 +40,7 @@ function Bookmark() {
return (
<div className="p-6 bg-base-200 h-screen">
<h1 className="md:text-4xl text-xl font-bold text-white mb-6">
Bookmarked Polls
收藏的投票
</h1>
{isError && (
<div className="h-60 w-full">
@@ -54,9 +54,9 @@ function Bookmark() {
<thead>
<tr>
<th>#</th>
<th>Title</th>
<th>Description</th>
<th>Actions</th>
<th>标题</th>
<th>描述</th>
<th>操作</th>
</tr>
</thead>
<tbody>
@@ -74,13 +74,13 @@ function Bookmark() {
onClick={() => handleViewPollClick(bookmark._id)}
className="btn btn-sm btn-primary text-sm md:text-base mb-2 md:mb-1"
>
View Poll
查看投票
</button>
<button
onClick={() => handleRemoveBookmark(bookmark._id)}
className="btn btn-sm btn-error text-sm md:text-base ml-2"
>
Remove
移除
</button>
</td>
</tr>