Skip to content

Commit

Permalink
Merge pull request #110 from ligangty/2.0-refactor
Browse files Browse the repository at this point in the history
Fix a issue for react hooks rule fixing
  • Loading branch information
ligangty authored Nov 30, 2023
2 parents 218e269 + d02d0b6 commit 8565cee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ export default function RemoteEdit() {
}
}, [pkgType, storeName, mode]);

store = state.store;
if (mode === 'edit'){
store = state.store;
}

const handleCheckChange = (event, field) => {
if (event.target.checked) {
Expand Down
1 change: 1 addition & 0 deletions src/main/webui/src/server/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-console */
import compression from 'compression';
import express from 'express';
import path from 'path';
Expand Down

0 comments on commit 8565cee

Please sign in to comment.