graceguo-supercat commented on a change in pull request #9886:
URL: 
https://github.com/apache/incubator-superset/pull/9886#discussion_r434202053



##########
File path: superset-frontend/src/dashboard/components/RefreshIntervalModal.jsx
##########
@@ -46,23 +54,43 @@ const options = [
 class RefreshIntervalModal extends React.PureComponent {
   constructor(props) {
     super(props);
+    this.modal = React.createRef();

Review comment:
       i can rename modal variable, but we should not use _directly references 
assignment_. https://reactjs.org/docs/refs-and-the-dom.html




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to