VM112:1 Uncaught (in promise) SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON

here is my site
[gifted-antelope-58b104.netlify.app](https://stunning-gnome-2dcef0.netlify.app/)

this app working well locally, but im getting this error on console when i deployed it on netlify
VM112:1 Uncaught (in promise) SyntaxError: Unexpected token ‘<’, "<!doctype "… is not valid JSON

Promise.then (async)
(anonymous) @ Home.js:14
Promise.then (async)
(anonymous) @ Home.js:13
(anonymous) @ Home.js:23
au @ react-dom.production.min.js:244
ks @ react-dom.production.min.js:286
(anonymous) @ react-dom.production.min.js:282
E @ scheduler.production.min.js:13
R

repo link GitHub - MarwahAlahdab/NetflixClone-frontend

If you look at the console in Developer Tools, you’ll see a strange XHR request

GET https://stunning-gnome-2dcef0.netlify.app/undefined/trending

I’m pretty sure the undefined is unintended. It stems from this line in src/Components/Home.js.

Have you set this as an environment variable in the Netlify UI?