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

@@ -62,7 +62,11 @@ const SessionCard = () => {
path: "sessionStats",
value: dedupedSightings,
});
await mutation.mutateAsync({
operation: "SAVE",
path: "",
value: null,
});
if (result.reason === "OK") toast.success("Session saved");
};