We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d9b202 commit 5b5bdf1Copy full SHA for 5b5bdf1
1 file changed
src/pages/Setting/FeedbackMail/FeedbackMail.tsx
@@ -12,7 +12,7 @@ function FeedbackMail() {
12
const formRef = useRef<HTMLFormElement>(null)
13
14
const handleChangeSubjectInput = (e: React.ChangeEvent<HTMLInputElement>) => {
15
- if (subject.length > 20) return
+ if (e.target.value.length > 20) return
16
setSubject(e.target.value)
17
}
18
const sendEmail = (e: React.FormEvent<HTMLFormElement>) => {
0 commit comments