Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Commit

Permalink
syncup
Browse files Browse the repository at this point in the history
  • Loading branch information
hcientist committed Feb 19, 2024
1 parent 0b10ad4 commit f19853b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/mergingScore.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function MergingScore({
createdEmbed.loadJSON(mergedScore);
});
}
}, [height, scores]);
}, [scores, height, instrumentName, giveJSON]);

return <div ref={editorRef} />
}
Expand Down
8 changes: 6 additions & 2 deletions components/student/create/theoretical.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,13 @@ export default function CreativityActivity() {


// the child component has finished merging the array of "subscores" into the single "score"
const onMerged = useCallback(mergedData=> {
// const onMerged = useCallback(mergedData=> {
// setTotalScoreJSON(mergedData);
// }, [setTotalScoreJSON])

function onMerged (mergedData) {
setTotalScoreJSON(mergedData);
}, [setTotalScoreJSON])
}



Expand Down

0 comments on commit f19853b

Please sign in to comment.