Ui 2 cleanups (unused components, shared assets) (#5636)
* Remove unused components * Move to dapp/index.js * Move assets to @parity/shared
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
import React from 'react';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
|
||||
import imagesEthcore from '~/../assets/images/parity-logo-white.svg';
|
||||
import imagesEthcore from '@parity/shared/assets/images/parity-logo-white.svg';
|
||||
|
||||
import styles from '../firstRun.css';
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ import { newError } from '@parity/shared/redux/actions';
|
||||
import { Button, Portal } from '@parity/ui';
|
||||
import { CheckIcon, DoneIcon, NextIcon, PrintIcon } from '@parity/ui/Icons';
|
||||
|
||||
import ParityLogo from '~/../assets/images/parity-logo-black-no-text.svg';
|
||||
import ParityLogo from '@parity/shared/assets/images/parity-logo-black-no-text.svg';
|
||||
|
||||
// FIXME: These imports, while nice for re-using, breaks since the shell import
|
||||
import { NewAccount, AccountDetails } from '~/views/Accounts/CreateAccount';
|
||||
|
||||
@@ -26,7 +26,7 @@ import store from 'store';
|
||||
import { AccountCard, Badge, Button, ContainerTitle, IdentityIcon, SelectionList } from '@parity/ui';
|
||||
import { CancelIcon, FingerprintIcon } from '@parity/ui/Icons';
|
||||
|
||||
import imagesEthcoreBlock from '~/../assets/images/parity-logo-white-no-text.svg';
|
||||
import imagesEthcoreBlock from '@parity/shared/assets/images/parity-logo-white-no-text.svg';
|
||||
|
||||
import DappsStore from '~/shell/Dapps/dappsStore';
|
||||
import Signer from '~/shell/Signer/Embedded';
|
||||
|
||||
@@ -34,8 +34,8 @@ import SecureApi from '~/secureApi';
|
||||
|
||||
import '@parity/shared/environment';
|
||||
|
||||
import '~/../assets/fonts/Roboto/font.css';
|
||||
import '~/../assets/fonts/RobotoMono/font.css';
|
||||
import '@parity/shared/assets/fonts/Roboto/font.css';
|
||||
import '@parity/shared/assets/fonts/RobotoMono/font.css';
|
||||
|
||||
injectTapEventPlugin();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user