Skip to content

Commit

Permalink
Fix recognition point bug
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-robert committed Nov 13, 2024
1 parent f8bf297 commit 1ee7e4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,9 @@ const createMlStore = (logging: Logging) => {
} else {
const { confidences } = result;
const detected = getDetectedAction(
actions,
// Get latest actions from store so that changes to
// recognition point are realised.
get().actions,
result.confidences
);
set({
Expand Down

0 comments on commit 1ee7e4b

Please sign in to comment.