🔧 AirDC++ Settings wired up (first draft)

This commit is contained in:
2021-11-17 22:09:48 -08:00
parent 6e1b431600
commit 925008bdcb
5 changed files with 127 additions and 96 deletions

View File

@@ -1,5 +1,4 @@
import axios from "axios";
import { IExtractionOptions } from "threetwo-ui-typings";
import { SETTINGS_OBJECT_FETCHED } from "../constants/action-types";
import { SETTINGS_SERVICE_BASE_URI } from "../constants/endpoints";
@@ -10,6 +9,7 @@ export const saveSettings =
method: "POST",
data: { settingsObject, airdcppUserSettings },
});
console.log(result.data);
dispatch({
type: SETTINGS_OBJECT_FETCHED,
data: result.data,