Open tpemartin opened 10 months ago
Martin https://github.com/tpemartin/econWish/tree/final
/Card2
linttttt https://github.com/linttttt/econWish/tree/final
/Finalcard /Seal2
Andreia https://github.com/AndreiaMagalhaes/econWish/tree/final
/CardAndreia
(link for the app: https://andreiamagalhaes.github.io/econWish/ )
Mirko https://github.com/mirkorivas/econWish/tree/final (repo) /CardMirko
https://mirkorivas.github.io/econWish/ (app link)
PS: Probably due to the huge amount of cards that are created, our apps were extremely slow when we were trying to modify them. We added an "if" to "const cards" (so that cards would only be created for complete users) because many of the users did not have all the necessary information (name, wish, image, ...).
//Make sure that all user (e) values aren't null, undefined, "" and " "
`const cards = users.map((e, i) => { if (!Object.values(e).includes(null) && !Object.values(e).includes(undefined) && !Object.values(e).includes('') && !Object.values(e).includes(' ')) {
return (
)
}
})`
If you encounter the same issue, then you could include those lines ✌️✌️ (it's in app.jsx --> function AppContent --> const cards)
Mirko
https://github.com/mirkorivas/econWish/tree/final (repo)
/CardMirko
https://mirkorivas.github.io/econWish/ (app link)
PS:
Probably due to the huge amount of cards that are created, our apps were extremely slow when we were trying to modify them. We added an "if" to "const cards" (so that cards would only be created for complete users) because many of the users did not have all the necessary information (name, wish, image, ...).
//Make sure that all user (e) values aren't null, undefined, "" and " "
`const cards = users.map((e, i) => { if (!Object.values(e).includes(null) && !Object.values(e).includes(undefined) && !Object.values(e).includes('') && !Object.values(e).includes(' ')) {
return (
<GalleryItem key={i}> <Card2 user={e} /> </GalleryItem> ) } })`
If you encounter the same issue, then you could include those lines ✌️✌️ (it's in app.jsx --> function AppContent --> const cards)
Hi Mirko, the problem is from my backend. I have fixed that. Glad you noticed the problem.
Set up
final
branch in your local drive.Card/
component folder under `src/componentsand its return jsx must have its first child element as:
Test
In
src/App.jsx
changeto
Then execute the app. If it properly functions, you can submit your app, but
final
of your fork repoAnd post your fork repo link and list your component folders.