chore(lint): cleanup unused variables in code (#1563)

This commit is contained in:
Caleb
2018-08-07 09:53:31 -06:00
committed by Shawn Erquhart
parent d0e4435258
commit 88f7dca328
52 changed files with 61 additions and 199 deletions

View File

@ -22,7 +22,7 @@ class Header extends Component {
window.removeEventListener('scroll', this.handleScroll);
}
handleScroll = event => {
handleScroll = () => {
const currentWindowPos =
document.documentElement.scrollTop || document.body.scrollTop;

View File

@ -6,7 +6,7 @@ class VideoEmbed extends Component {
state = {
toggled: false
};
toggleVideo = event => {
toggleVideo = () => {
this.setState({
toggled: true
});

View File

@ -1,4 +1,4 @@
import React, { Component } from 'react';
import React from 'react';
import Helmet from 'react-helmet';
import Markdown from 'react-markdown';

View File

@ -1,4 +1,4 @@
import React, { Component, Fragment } from 'react';
import React, { Fragment } from 'react';
import moment from 'moment';
import Markdownify from '../components/markdownify';