Can mark a comment as the answer, some layout changes

This commit is contained in:
jackiettran
2025-11-11 18:23:11 -05:00
parent 825389228d
commit b045fbeb01
11 changed files with 379 additions and 323 deletions

View File

@@ -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>
)}