From 0deabd29ae2f420071058301334050167210ac33 Mon Sep 17 00:00:00 2001 From: shelcia Date: Mon, 22 Apr 2024 06:30:10 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20env=20fixed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/.eslintrc.json | 3 ++- client/src/pages/dashboard/HomePage.jsx | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/client/.eslintrc.json b/client/.eslintrc.json index 3a7187e..00365c4 100644 --- a/client/.eslintrc.json +++ b/client/.eslintrc.json @@ -11,6 +11,7 @@ }, "plugins": ["react"], "rules": { - "react/prop-types": 0 + "react/prop-types": 0, + "no-unused-vars": "warn" } } diff --git a/client/src/pages/dashboard/HomePage.jsx b/client/src/pages/dashboard/HomePage.jsx index 1b5622d..82af574 100644 --- a/client/src/pages/dashboard/HomePage.jsx +++ b/client/src/pages/dashboard/HomePage.jsx @@ -111,7 +111,7 @@ const Feed = () => { }; apiPost .put(response, `fires/${id}`) - .then((res) => { + .then(() => { // console.log(res); getPost(dispatch, undefined); }) @@ -164,7 +164,7 @@ const InputForm = ({ post, addPost, setPost }) => {