Posts by Pedro Victor • 19 points
5 posts
-
0
votes1
answer796
viewsQ: Eslint error: "Must use destructuring state assignment"
Could someone please let me know what I’m doing wrong? The mistake "Must use destructuring state assignment" is in the {this.state.time}. import React from 'react'; class App extends React.Component…
-
0
votes1
answer59
viewsQ: Enable and disable action by clicking on JS
I’m facing a problem. I’ll put in the code and explain what I can’t do. const interval = setInterval(() => { const header = document.querySelector('._1QUKR'); if(header) {…
-
-1
votes1
answer66
viewsQ: Renaming methods of imports?
First I’d like to know if I can call elements that we import of methods, that is to say: import { Icon, Button, cabecalho : Header} from 'semantic-ui-react' Could I call Icon, Button or Header…
-
-1
votes2
answers205
viewsQ: How to store data from a struct in a vector (c++)
I’m having trouble storing information inside a vector. I need to store information like a user’s name, password and account number, so I’m using a struct typedef struct { int conta; string nome;…
-
-1
votes2
answers34
viewsQ: Jquery by selecting three forms at once
I am having a problem using Jquery, because it is selecting three forms at the same time, and they have different utilities. One is for new user registrations, another for login and one that serves…