From 1a36aadf83ccbb5ff86f027cc9109bfa9dbe75bc Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sun, 5 Jul 2020 14:23:21 +0300
Subject: feat: allow feedback to have empty message

---
 src/pages/HomePage/ReviewForm.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/HomePage/ReviewForm.tsx')

diff --git a/src/pages/HomePage/ReviewForm.tsx b/src/pages/HomePage/ReviewForm.tsx
index 7ad0880..248e36e 100644
--- a/src/pages/HomePage/ReviewForm.tsx
+++ b/src/pages/HomePage/ReviewForm.tsx
@@ -27,7 +27,7 @@ const ReviewForm: React.FC = () => {
   const { enqueueSnackbar } = useSnackbar();
 
   const handleSubmit = (): void => {
-    if (contents && score) {
+    if (score) {
       post('/feedback', { contents, score, version }).then(() => {
         enqueueSnackbar('Your feedback has been submitted!', {
           variant: 'success'
-- 
cgit v1.2.3

