It is currently returning transcription: <translation> instead of translation: <translation>. This is likely causing typescript error that bubble up in prod but not locally.
This PR also fixes some other TS errors caused by importing As from @chakra-ui/react
Describe your changes
Fix the translation endpoint for the Igbo API.
It is currently returning
transcription: <translation>
instead oftranslation: <translation>
. This is likely causing typescript error that bubble up in prod but not locally.This PR also fixes some other TS errors caused by importing
As
from@chakra-ui/react