fix empty comment send button style
This commit is contained in:
parent
2240db9baa
commit
eaaa46294a
|
@ -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}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user