Apply prettier config
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import * as _ from 'lodash';
|
||||
import * as React from 'react';
|
||||
import {colors} from 'ts/utils/colors';
|
||||
import { colors } from 'ts/utils/colors';
|
||||
|
||||
interface SwapIconProps {
|
||||
swapTokensFn: () => void;
|
||||
@@ -25,15 +25,12 @@ export class SwapIcon extends React.Component<SwapIconProps, SwapIconState> {
|
||||
return (
|
||||
<div
|
||||
className="mx-auto pt4"
|
||||
style={{cursor: 'pointer', height: 50, width: 37.5}}
|
||||
style={{ cursor: 'pointer', height: 50, width: 37.5 }}
|
||||
onClick={this.props.swapTokensFn}
|
||||
onMouseEnter={this._onToggleHover.bind(this, true)}
|
||||
onMouseLeave={this._onToggleHover.bind(this, false)}
|
||||
>
|
||||
<i
|
||||
style={swapStyles}
|
||||
className="zmdi zmdi-swap"
|
||||
/>
|
||||
<i style={swapStyles} className="zmdi zmdi-swap" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user