chinese
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user