We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2125469 commit 8bc2f0cCopy full SHA for 8bc2f0c
web/components/contact.tsx
@@ -18,7 +18,7 @@ export function ContactComponent() {
18
placeholder: 'Contact us here...',
19
})
20
21
- const hideButton = editor?.getText().length == 0
+ const showButton = !!editor?.getText().length
22
23
return (
24
<Col className="mx-2">
@@ -29,7 +29,7 @@ export function ContactComponent() {
29
editor={editor}
30
/>
31
</div>
32
- {!hideButton && (
+ {showButton && (
33
<Row className="right-1 justify-between gap-2">
34
<Button
35
size="xs"
0 commit comments