fix comment-tab

This commit is contained in:
2025-06-15 22:34:44 +09:00
parent 619675b551
commit be86c11e74
5 changed files with 12 additions and 9 deletions

View File

@ -1493,10 +1493,9 @@ function App() {
</div>
)}
{/* Comment Form - Only show on post pages */}
{user && appConfig.rkey && (
{/* Comment Form - Only show on post pages when Comments tab is active */}
{user && appConfig.rkey && activeTab === 'comments' && (
<div className="comment-form">
<h3>Post a Comment</h3>
<textarea
id="comment-text"
name="commentText"