Remove unused import vars, resort imports and fix code style.
parent
3a5087bdc8
commit
1ad8fd24bf
14
src/App.jsx
14
src/App.jsx
|
@ -1,20 +1,18 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import moment from 'moment-timezone';
|
import moment from 'moment-timezone';
|
||||||
|
import 'react-fontawesome';
|
||||||
|
import WebFont from 'webfontloader';
|
||||||
import Countdown from './Countdown';
|
import Countdown from './Countdown';
|
||||||
import Header from './Header';
|
import Header from './Header';
|
||||||
import getUpcomingDate from './getUpcomingDate';
|
import getUpcomingDate from './getUpcomingDate';
|
||||||
import FontAwesome from 'react-fontawesome';
|
|
||||||
import WebFont from 'webfontloader';
|
|
||||||
|
|
||||||
|
|
||||||
import style from './App.sass';
|
import style from './App.sass';
|
||||||
|
|
||||||
|
|
||||||
WebFont.load({
|
WebFont.load({
|
||||||
google: {
|
google: {
|
||||||
families: ['Titillium Web:300,400,700', 'sans-serif']
|
families: ['Titillium Web:300,400,700', 'sans-serif'],
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
class App extends React.Component {
|
class App extends React.Component {
|
||||||
|
@ -74,8 +72,8 @@ class App extends React.Component {
|
||||||
The next VIzon draw is on {nextUpcomingDate.format('dddd')}, {nextUpcomingDate.format('L LT z')}.
|
The next VIzon draw is on {nextUpcomingDate.format('dddd')}, {nextUpcomingDate.format('L LT z')}.
|
||||||
</p>
|
</p>
|
||||||
<Countdown date={nextUpcomingDate} />
|
<Countdown date={nextUpcomingDate} />
|
||||||
</div>
|
</div>
|
||||||
<div className={style.footer}>
|
<div className={style.footer}>
|
||||||
Made by Icedream & MAGIC
|
Made by Icedream & MAGIC
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue