nkowaokwu / igbo_api

An API exposing Igbo words, definitions, and more
https://igboapi.com
Apache License 2.0
316 stars 141 forks source link

Correct Translation endpoint response key #821

Closed ebubae closed 3 weeks ago

ebubae commented 3 weeks ago

Describe your changes

Fix the translation endpoint for the Igbo API.

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