added save and load endpoints

This commit is contained in:
2025-11-17 10:19:44 +00:00
parent 5ce70ffa06
commit d2f030f221
10 changed files with 52 additions and 11 deletions

View File

@@ -46,7 +46,11 @@ const SoundUpload = () => {
if (result.reason !== "OK") {
toast.error("Cannot update sound settings");
}
await mutation.mutateAsync({
operation: "SAVE",
path: "",
value: null,
});
dispatch({ type: "ADD", payload: values });
};