fix empty comment send button style

This commit is contained in:
Sinclair Chen 2022-09-22 17:07:51 -04:00
parent 2240db9baa
commit eaaa46294a

View File

@ -126,7 +126,7 @@ export function CommentInputTextArea(props: {
<TextEditor editor={editor} upload={upload}> <TextEditor editor={editor} upload={upload}>
{user && !isSubmitting && ( {user && !isSubmitting && (
<button <button
className="btn btn-ghost btn-sm px-2 disabled:bg-inherit disabled:text-gray-300" className="btn btn-ghost btn-sm disabled:bg-inherit! px-2 disabled:text-gray-300"
disabled={!editor || editor.isEmpty} disabled={!editor || editor.isEmpty}
onClick={submit} onClick={submit}
> >