Can mark a comment as the answer, some layout changes
This commit is contained in:
@@ -208,11 +208,11 @@ const MyPosts: React.FC = () => {
|
||||
{post.status === 'open' && (
|
||||
<button
|
||||
className="btn btn-sm btn-outline-success"
|
||||
onClick={() => handleStatusChange(post.id, 'solved')}
|
||||
onClick={() => handleStatusChange(post.id, 'answered')}
|
||||
disabled={actionLoading === post.id}
|
||||
>
|
||||
<i className="bi bi-check-circle me-1"></i>
|
||||
Mark Solved
|
||||
Mark Answered
|
||||
</button>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user