Move import up to top of file.

This commit is contained in:
Jordan Eldredge 2017-04-23 16:52:12 -07:00
parent d0a6ce6d7f
commit a4370f3ffa

View file

@ -4,6 +4,7 @@ import { connect } from "react-redux";
import { getTimeStr } from "../utils";
import { STEP_MARQUEE } from "../actionTypes";
import CharacterString from "./CharacterString";
const getBalanceText = balance => {
if (balance === 0) {
@ -43,8 +44,6 @@ const negativePixels = pixels => `-${pixels}px`;
// If text is wider than the marquee, it needs to loop
const loopText = text => (isLong(text) ? text + text : text);
import CharacterString from "./CharacterString";
class Marquee extends React.Component {
constructor(props) {
super(props);