I have recently upgraded a search ui build in React to the
As the new package does not have a
<VoiceSearch> widget or
useVoiceSearchhook I built custom components for these.
However, I cannot figure out how to reset the voiceSearch transcript?
All functionality works as expected, but if I reset the state of my UI using the reset button in the
SearchBox widget the VoiceSearch transcript is not reset.
I am unsure what I am missing? Can anyone point me in the right direction?
Not sure why I cannot add code in here? I keep getting a draft error? But this is my component and hook: