chore(lint): cleanup unused variables in code (#1563)
This commit is contained in:
@ -22,7 +22,7 @@ class Header extends Component {
|
||||
window.removeEventListener('scroll', this.handleScroll);
|
||||
}
|
||||
|
||||
handleScroll = event => {
|
||||
handleScroll = () => {
|
||||
const currentWindowPos =
|
||||
document.documentElement.scrollTop || document.body.scrollTop;
|
||||
|
||||
|
@ -6,7 +6,7 @@ class VideoEmbed extends Component {
|
||||
state = {
|
||||
toggled: false
|
||||
};
|
||||
toggleVideo = event => {
|
||||
toggleVideo = () => {
|
||||
this.setState({
|
||||
toggled: true
|
||||
});
|
||||
|
@ -1,4 +1,4 @@
|
||||
import React, { Component } from 'react';
|
||||
import React from 'react';
|
||||
import Helmet from 'react-helmet';
|
||||
import Markdown from 'react-markdown';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import React, { Component, Fragment } from 'react';
|
||||
import React, { Fragment } from 'react';
|
||||
import moment from 'moment';
|
||||
|
||||
import Markdownify from '../components/markdownify';
|
||||
|
Reference in New Issue
Block a user