From 86cf6d7337f5bfdc77fe056e6a34ebb5c7a340eb Mon Sep 17 00:00:00 2001 From: Ali Haghighatkhah Date: Thu, 2 Dec 2021 16:19:53 +0100 Subject: [PATCH] Fix import routes --- src/components/screens/reclaimBalance/modal/status/status.js | 4 ++-- .../shared/transactionResult/multisignature.test.js | 3 +-- src/components/shared/transactionResult/regular.test.js | 3 +-- .../shared/transactionResult/transactionResult.test.js | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/components/screens/reclaimBalance/modal/status/status.js b/src/components/screens/reclaimBalance/modal/status/status.js index 1f1cabee49..1c23cc3d42 100644 --- a/src/components/screens/reclaimBalance/modal/status/status.js +++ b/src/components/screens/reclaimBalance/modal/status/status.js @@ -1,9 +1,9 @@ import React from 'react'; import TransactionResult from '@shared/transactionResult'; -import { statusMessages, getTransactionStatus, txStatusTypes } from '@shared/transactionResult/statusConfig'; +import { statusMessages, getTransactionStatus } from '@shared/transactionResult/statusConfig'; import LiskAmount from '@shared/liskAmount'; import { PrimaryButton } from '@toolbox/buttons'; -import { tokenMap } from '@constants'; +import { tokenMap, txStatusTypes } from '@constants'; import Spinner from '@toolbox/spinner'; import styles from './status.css'; diff --git a/src/components/shared/transactionResult/multisignature.test.js b/src/components/shared/transactionResult/multisignature.test.js index 98ad091f16..89c4a86872 100644 --- a/src/components/shared/transactionResult/multisignature.test.js +++ b/src/components/shared/transactionResult/multisignature.test.js @@ -2,9 +2,8 @@ import React from 'react'; import { mount } from 'enzyme'; import copyToClipboard from 'copy-to-clipboard'; import * as txUtils from '@utils/transaction'; -import { routes } from '@constants'; +import { routes, txStatusTypes } from '@constants'; import Multisignature, { FullySignedActions, PartiallySignedActions } from './multisignature'; -import { txStatusTypes } from './statusConfig'; import accounts from '../../../../test/constants/accounts'; jest.mock('copy-to-clipboard'); diff --git a/src/components/shared/transactionResult/regular.test.js b/src/components/shared/transactionResult/regular.test.js index 8ea55e984e..02d4426a1f 100644 --- a/src/components/shared/transactionResult/regular.test.js +++ b/src/components/shared/transactionResult/regular.test.js @@ -1,8 +1,7 @@ import React from 'react'; import { mount } from 'enzyme'; -import { routes } from '@constants'; +import { routes, txStatusTypes } from '@constants'; import Regular from './regular'; -import { txStatusTypes } from './statusConfig'; import accounts from '../../../../test/constants/accounts'; describe('TransactionResult Regular', () => { diff --git a/src/components/shared/transactionResult/transactionResult.test.js b/src/components/shared/transactionResult/transactionResult.test.js index 13882cf11a..8f41e1dde0 100644 --- a/src/components/shared/transactionResult/transactionResult.test.js +++ b/src/components/shared/transactionResult/transactionResult.test.js @@ -1,9 +1,9 @@ import React from 'react'; import { mount } from 'enzyme'; +import { txStatusTypes } from '@constants'; import TransactionResult from './transactionResult'; import Regular from './regular'; import Multisignature from './multisignature'; -import { txStatusTypes } from './statusConfig'; import accounts from '../../../../test/constants/accounts'; describe('TransactionResult', () => {