Skip to content

Commit

Permalink
🐛 env fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
shelcia committed Apr 22, 2024
1 parent aac76e0 commit 0deabd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion client/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"plugins": ["react"],
"rules": {
"react/prop-types": 0
"react/prop-types": 0,
"no-unused-vars": "warn"
}
}
4 changes: 2 additions & 2 deletions client/src/pages/dashboard/HomePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const Feed = () => {
};
apiPost
.put(response, `fires/${id}`)
.then((res) => {
.then(() => {
// console.log(res);
getPost(dispatch, undefined);
})
Expand Down Expand Up @@ -164,7 +164,7 @@ const InputForm = ({ post, addPost, setPost }) => {
</Typography>
<Box className="input-group-lg">
<Editor
apiKey={import.meta.env.TINYEDITOR}
apiKey={import.meta.env.VITE_TINYEDITOR}
init={{
height: 200,
menubar: false,
Expand Down

0 comments on commit 0deabd2

Please sign in to comment.