diff --git a/src/components/PhraseTrainer.tsx b/src/components/PhraseTrainer.tsx index f151cb1..9b79c8d 100644 --- a/src/components/PhraseTrainer.tsx +++ b/src/components/PhraseTrainer.tsx @@ -61,6 +61,7 @@ function shiftScoreOctaves(score: Score, octaves: number): Score { export const PhraseTrainer = forwardRef( function PhraseTrainer({ listening, micError, windowWidth }, ref) { const { settings, updateSettings } = useSettings(); + const setSettings = updateSettings; const { playNote } = useAudioPlayer(); const phrase = getPhraseSettings(settings); const setPhrase = useCallback((updates: Partial) => {