Remove "Add my comment" button for signed out users
This commit is contained in:
parent
af3a3a3934
commit
6fa4e17a58
|
@ -138,16 +138,6 @@ export function CommentInputTextArea(props: {
|
||||||
<LoadingIndicator spinnerClassName="border-gray-500" />
|
<LoadingIndicator spinnerClassName="border-gray-500" />
|
||||||
)}
|
)}
|
||||||
</TextEditor>
|
</TextEditor>
|
||||||
<Row>
|
|
||||||
{!user && (
|
|
||||||
<button
|
|
||||||
className="btn btn-outline btn-sm mt-2 normal-case"
|
|
||||||
onClick={submitComment}
|
|
||||||
>
|
|
||||||
Add my comment
|
|
||||||
</button>
|
|
||||||
)}
|
|
||||||
</Row>
|
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user