From a4acdd7d44d9134dae1b53b26cce3aea4f8a178b Mon Sep 17 00:00:00 2001 From: Vit Stanislav Date: Fri, 28 Jul 2017 11:49:12 +0200 Subject: [PATCH] Replace relative flexboxgrid imports with absolute --- src/components/dialog/alert.js | 2 +- src/components/forging/delegateStats.js | 2 +- src/components/forging/forgedBlocks.js | 2 +- src/components/forging/forgingStats.js | 2 +- src/components/forging/forgingTitle.js | 2 +- src/components/send/send.js | 2 +- src/components/signVerify/signMessage.js | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/dialog/alert.js b/src/components/dialog/alert.js index a3a28831c..538255f1f 100644 --- a/src/components/dialog/alert.js +++ b/src/components/dialog/alert.js @@ -1,6 +1,6 @@ import React from 'react'; import Button from 'react-toolbox/lib/button'; -import grid from '../../../node_modules/flexboxgrid/dist/flexboxgrid.css'; +import grid from 'flexboxgrid/dist/flexboxgrid.css'; const Alert = props => ( diff --git a/src/components/forging/delegateStats.js b/src/components/forging/delegateStats.js index f9e72401f..19a5654e8 100644 --- a/src/components/forging/delegateStats.js +++ b/src/components/forging/delegateStats.js @@ -1,7 +1,7 @@ import React from 'react'; import { Card, CardText } from 'react-toolbox/lib/card'; import CircularProgressbar from 'react-circular-progressbar'; -import grid from '../../../node_modules/flexboxgrid/dist/flexboxgrid.css'; +import grid from 'flexboxgrid/dist/flexboxgrid.css'; import style from './forging.css'; const identity = x => (x); diff --git a/src/components/forging/forgedBlocks.js b/src/components/forging/forgedBlocks.js index d43ee5808..c1c0afb1c 100644 --- a/src/components/forging/forgedBlocks.js +++ b/src/components/forging/forgedBlocks.js @@ -1,10 +1,10 @@ import React from 'react'; import { Card, CardTitle } from 'react-toolbox/lib/card'; import { Table, TableHead, TableRow, TableCell } from 'react-toolbox/lib/table'; +import grid from 'flexboxgrid/dist/flexboxgrid.css'; import { TooltipTime } from '../timestamp'; import LiskAmount from '../liskAmount'; import FormattedNumber from '../formattedNumber'; -import grid from '../../../node_modules/flexboxgrid/dist/flexboxgrid.css'; import style from './forging.css'; diff --git a/src/components/forging/forgingStats.js b/src/components/forging/forgingStats.js index ec0cca590..2e90dda21 100644 --- a/src/components/forging/forgingStats.js +++ b/src/components/forging/forgingStats.js @@ -1,8 +1,8 @@ import React from 'react'; import { Card, CardText } from 'react-toolbox/lib/card'; import moment from 'moment'; +import grid from 'flexboxgrid/dist/flexboxgrid.css'; import LiskAmount from '../liskAmount'; -import grid from '../../../node_modules/flexboxgrid/dist/flexboxgrid.css'; import style from './forging.css'; const statCardObjects = [ diff --git a/src/components/forging/forgingTitle.js b/src/components/forging/forgingTitle.js index 43802ef18..a8de24a59 100644 --- a/src/components/forging/forgingTitle.js +++ b/src/components/forging/forgingTitle.js @@ -1,8 +1,8 @@ import React from 'react'; import { Card, CardText } from 'react-toolbox/lib/card'; import moment from 'moment'; +import grid from 'flexboxgrid/dist/flexboxgrid.css'; import LiskAmount from '../liskAmount'; -import grid from '../../../node_modules/flexboxgrid/dist/flexboxgrid.css'; import style from './forging.css'; diff --git a/src/components/send/send.js b/src/components/send/send.js index cd62abd6a..c05f19a32 100644 --- a/src/components/send/send.js +++ b/src/components/send/send.js @@ -2,12 +2,12 @@ import React from 'react'; import Input from 'react-toolbox/lib/input'; import Button from 'react-toolbox/lib/button'; import { IconMenu, MenuItem } from 'react-toolbox/lib/menu'; +import grid from 'flexboxgrid/dist/flexboxgrid.css'; import { send } from '../../utils/api/account'; import { fromRawLsk, toRawLsk } from '../../utils/lsk'; import styles from './send.css'; -import grid from '../../../node_modules/flexboxgrid/dist/flexboxgrid.css'; class Send extends React.Component { constructor() { diff --git a/src/components/signVerify/signMessage.js b/src/components/signVerify/signMessage.js index 7cf2ff2bb..e07f5b9f9 100644 --- a/src/components/signVerify/signMessage.js +++ b/src/components/signVerify/signMessage.js @@ -3,11 +3,11 @@ import Input from 'react-toolbox/lib/input'; import Button from 'react-toolbox/lib/button'; import copy from 'copy-to-clipboard'; import { toastr } from 'react-redux-toastr'; +import grid from 'flexboxgrid/dist/flexboxgrid.css'; import lisk from 'lisk-js'; import InfoParagraph from '../infoParagraph'; import SignVerifyResult from './signVerifyResult'; -import grid from '../../../node_modules/flexboxgrid/dist/flexboxgrid.css'; class SignMessage extends React.Component {