Posts by Hiogo Cavalheiro • 96 points
6 posts
-
0
votes1
answer60
viewsA: React - Redux: Typeerror: Cannot read Property 'map' of Undefined
The Reset by default always returns an object NEW to put in the state, thus in its action PRODUCT_LIST_REQUEST you need to return the list products : case PRODUCT_LIST_REQUEST: return { products:…
-
0
votes1
answer24
viewsA: Error 'Typeerror: Cannot read Property 'room' of Undefined'
You are deconstructing the return object of the adduser function as if it is always returning something like this { error: 'string', user: {}, } But in the end the return of the function is object…
-
1
votes1
answer5564
viewsA: CSS Grid Layout - How to horizontally center all elements across all the Grid Lines of a Sub-Grid?
CSS grid will always break the Row and put the items in column order. In this case I recommend the use of flexbox who does exactly what he wants with the property justify-content: center…
-
0
votes3
answers893
viewsA: 100% effect on Carousel
Change the . slide to position: relative and use .slide:after with all its css .efeito-overlay and remove the div from the html like this: .slide:after { width: 100%; height: 100% !important;…
-
0
votes2
answers380
viewsA: Event.preventDefault() conflicting on Contact Form
Using event.preventDefault() you cancel your Ubmit and go straight to .done(), your message appears and disappears because your action is trying to redirect you to your page, try to put a return…
-
4
votes3
answers97
viewsA: Execution or not of the increment in loops for
In the first part he enters the for with x = 1 and makes x = x * x and 1, then enters with x = 3 and makes x = x * x that of 9, this occurs inside the loop, now he leaves the loop and makes x+=2…