Update PiPedalModel.tsx

Modified the “setWifiDirectConfigSettings” method to resolve the promise only on success and reject on errors, matching the pattern used by “setWifiConfigSettings.”
This commit is contained in:
Extremesecrecy
2025-07-23 22:52:46 -07:00
parent 059922f71f
commit f72533ec0c
+3 -3
View File
@@ -3046,12 +3046,12 @@ export class PiPedalModel //implements PiPedalModel
serverConfigSettings
)
.then(() => {
//resolve();
resolve();
})
.catch((err) => {
//resolve();
resolve();
});
resolve();
//resolve();
});
this.expectDisconnect(ReconnectReason.LoadingSettings);