Remove /index imports (swap to bare) (#92)

* Remove /index imports (swap to bare)

* Bump api & common
This commit is contained in:
Jaco Greeff
2019-03-14 09:42:53 +01:00
committed by GitHub
parent 27e1d142f1
commit 3ce8b5bd35
12 changed files with 38 additions and 34 deletions
+2 -2
View File
@@ -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"
}
}
+1 -1
View File
@@ -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 () {
+1 -1
View File
@@ -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';
+1 -1
View File
@@ -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 () {