mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-18 03:41:03 +00:00
Remove /index imports (swap to bare) (#92)
* Remove /index imports (swap to bare) * Bump api & common
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
"react": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^0.36.1",
|
||||
"@polkadot/util-crypto": "^0.36.1",
|
||||
"@polkadot/keyring": "^0.36.3",
|
||||
"@polkadot/util-crypto": "^0.36.3",
|
||||
"xmlserializer": "^0.6.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import ReactDOM from 'react-dom';
|
||||
import { encodeAddress } from '@polkadot/keyring';
|
||||
import { randomAsU8a } from '@polkadot/util-crypto';
|
||||
|
||||
import IdentityIcon from './index';
|
||||
import IdentityIcon from '.';
|
||||
|
||||
export default class Demo extends React.PureComponent {
|
||||
render () {
|
||||
|
||||
@@ -9,7 +9,7 @@ import React from 'react';
|
||||
import CopyToClipboard from 'react-copy-to-clipboard';
|
||||
import styled from 'styled-components';
|
||||
import { decodeAddress, encodeAddress } from '@polkadot/keyring';
|
||||
import settings from '@polkadot/ui-settings/index';
|
||||
import settings from '@polkadot/ui-settings';
|
||||
import { isHex, isU8a } from '@polkadot/util';
|
||||
|
||||
import { Beachball, Empty, Jdenticon, Polkadot } from './icons';
|
||||
|
||||
@@ -7,7 +7,7 @@ import { encodeAddress } from '@polkadot/keyring';
|
||||
import { isNull } from '@polkadot/util';
|
||||
import { randomAsU8a } from '@polkadot/util-crypto';
|
||||
|
||||
import identicon from './index';
|
||||
import identicon from '.';
|
||||
|
||||
const element = document.getElementById('demo');
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
import xmlserializer from 'xmlserializer';
|
||||
|
||||
import identicon from './index';
|
||||
import identicon from '.';
|
||||
|
||||
describe('identicon', () => {
|
||||
it('generates a basic [0,..,0] identicon', () => {
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Props } from '../types';
|
||||
|
||||
import React from 'react';
|
||||
|
||||
import identicon from '../beachball/index';
|
||||
import identicon from '../beachball';
|
||||
|
||||
export default class Beachball extends React.PureComponent<Props> {
|
||||
render () {
|
||||
|
||||
Reference in New Issue
Block a user