Skip to content

Commit 0deabd2

Browse files
committed
🐛 env fixed
1 parent aac76e0 commit 0deabd2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

client/.eslintrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
},
1212
"plugins": ["react"],
1313
"rules": {
14-
"react/prop-types": 0
14+
"react/prop-types": 0,
15+
"no-unused-vars": "warn"
1516
}
1617
}

client/src/pages/dashboard/HomePage.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const Feed = () => {
111111
};
112112
apiPost
113113
.put(response, `fires/${id}`)
114-
.then((res) => {
114+
.then(() => {
115115
// console.log(res);
116116
getPost(dispatch, undefined);
117117
})
@@ -164,7 +164,7 @@ const InputForm = ({ post, addPost, setPost }) => {
164164
</Typography>
165165
<Box className="input-group-lg">
166166
<Editor
167-
apiKey={import.meta.env.TINYEDITOR}
167+
apiKey={import.meta.env.VITE_TINYEDITOR}
168168
init={{
169169
height: 200,
170170
menubar: false,

0 commit comments

Comments
 (0)