React with mosh /last project/ an error

Dear all

I face an error in my code that I dont get it

at the first stage I create a hook and define my props and export it like this:

Afterthat I use the game as a props in other component:

then I use this component in another component and I face this error:

Does anyone know how to fix it?

Looks to me like you made an error in the code and should go rewatch to make sure you got it right.

The <gameCard has no closing tab but calls an arrow function of <GameCard the component.

This will be refactored later but

1 Like