Clean up the following eslint warnings in RecordAudioButton:
Compiled with warnings.
src/content/RecordAudioButton.tsx
Line 17:40: 'noteContent' is assigned a value but never used @typescript-eslint/no-unused-vars
Line 88:17: Function declared in a loop contains unsafe references to variable(s) 'transcription' no-loop-func
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
Testing
Verified that real-time audio transcription works, and no warnings are shown in console.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue
Follow-up to https://github.com/aws-samples/aws-sdk-js-notes-app/pull/14
Description
Clean up the following eslint warnings in RecordAudioButton:
Testing
Verified that real-time audio transcription works, and no warnings are shown in console.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.