Posts by Victor Guedes • 56 points
4 posts
-
0
votes1
answer321
viewsA: Typeerror: Cannot read Property 'name' of Undefined **REACT
First their [${id}] believe it should be a number if you want to fetch the position in the array, try e.g.: [Number(id)] if applicable. You could try to replace this breakdown by assigning the state…
reactanswered Victor Guedes 56 -
3
votes0
answers48
viewsQ: Problems with formData in Multiple Upload Express and Multer
I’m having trouble uploading multiple images to the backend. The method in the backend is correct, when I test via insominia the right one, however from my front it does not generate the data…
-
1
votes1
answer46
viewsA: Private route does not check whether the user is logged in or not
You could do to instead of passing the header, perform a previous validation off the upload for the route, then if you do not have authentication or will call the route. I don’t know if this is…
-
-1
votes1
answer71
viewsA: If validation to check if value is Undefined
You can try using the operator typeof. For example : if (typeof dados === "undefined") Apparently every time undefined you want to run setContatoAtualizado right? If that’s what you can try to use…