mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 01:29:22 +00:00
Move import up to top of file.
This commit is contained in:
parent
d0a6ce6d7f
commit
a4370f3ffa
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue