Posts by wingad • 19 points
4 posts
-
-1
votes1
answer79
viewsQ: State returning late value in Click
I have a code from a memory game where a sequence of numbers is shown, and the user repeats it through a keyboard created. However, the click value is only captured after double clicking. I would…
-
1
votes0
answers76
viewsQ: Break line by pressing Enter and Shift + Enter
I have an input, and I need it to break line by pressing Enter and Shift + Enter, and only send the message by clicking the button. But he doesn’t break the line handleChatInputPress = (e) => {…
-
0
votes0
answers27
viewsQ: How to sort array using Sort
I have an array of objects that returns 3 possible sensitivity values: "LOW", "MEDIUM", "HIGH". But with the code below it is ordering in "HIGH - MEDIUM and LOW" respectively in ascending order and…
-
0
votes0
answers12
viewsQ: Error: Invalid element of type passed to PDF renderer
I would like to implement the PDF download in my project, however the File is not being downloaded, and the terminal returns this error " Error: invalid element of the type passed to the PDF…