Remove "Add my comment" button for signed out users

This commit is contained in:
Austin Chen 2022-10-05 09:35:21 -04:00
parent af3a3a3934
commit 6fa4e17a58

View File

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