In Chapter 13, After adding the environment variable VITE_API_URL, I changed the Carlist.tsx file as written, after adding the carapi.ts in the api folder. However, the CarResponse object shows an error in the section data.map((car: CarResponse) => of the Carlist.tsx and the site is not working. Kindly help.
In Chapter 13, After adding the environment variable VITE_API_URL, I changed the Carlist.tsx file as written, after adding the carapi.ts in the api folder. However, the CarResponse object shows an error in the section data.map((car: CarResponse) => of the Carlist.tsx and the site is not working. Kindly help.