Skip to content

Commit

Permalink
Merge pull request #50 from runeharlyk/removes-duplicate-request
Browse files Browse the repository at this point in the history
Removes duplicate request
  • Loading branch information
theelims authored Apr 24, 2024
2 parents 16594b9 + 3bdffbd commit 9b9984e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions interface/src/routes/wifi/sta/Wifi.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,6 @@
onDestroy(() => clearInterval(interval));
onMount(() => {
if (!$page.data.features.security || $user.admin) {
getWifiSettings();
}
});
async function postWiFiSettings(data: WifiSettings) {
try {
const response = await fetch('/rest/wifiSettings', {
Expand Down

0 comments on commit 9b9984e

Please sign in to comment.