Skip to content

Commit

Permalink
Update Settings.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
hendriksen-mark committed Nov 17, 2024
1 parent cf8a41d commit 383449d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pages/Settings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Settings = ({ HOST_IP, API_KEY }) => {
axios
.get(`${HOST_IP}/api/${API_KEY}/config/port`)
.then((result) => {
setEnable(result.data["enabled"]);
setPort_Enable(result.data["enabled"]);
setPort(result.data["ports"]);
})
.catch((error) => {
Expand Down

0 comments on commit 383449d

Please sign in to comment.