1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00
This commit is contained in:
Matthias Kretschmann 2019-04-23 13:02:47 +02:00
parent fe821f9548
commit ffb049b1c3
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 31 additions and 33 deletions

View File

@ -168,8 +168,7 @@ export default class Input extends PureComponent<InputProps, InputState> {
/> />
</div> </div>
) )
} default:
return ( return (
<div className={wrapClass}> <div className={wrapClass}>
{group ? ( {group ? (
@ -197,6 +196,7 @@ export default class Input extends PureComponent<InputProps, InputState> {
</div> </div>
) )
} }
}
public render() { public render() {
const { const {

View File

@ -2,7 +2,6 @@ import React from 'react'
import { Link } from 'react-router-dom' import { Link } from 'react-router-dom'
import moment from 'moment' import moment from 'moment'
import Dotdotdot from 'react-dotdotdot' import Dotdotdot from 'react-dotdotdot'
import Markdown from '../../components/atoms/Markdown'
import styles from './Asset.module.scss' import styles from './Asset.module.scss'
import CategoryImage from '../atoms/CategoryImage' import CategoryImage from '../atoms/CategoryImage'

View File

@ -13,10 +13,7 @@ declare global {
web3: Web3 web3: Web3
ethereum: { ethereum: {
enable(): void enable(): void
host: string send(payload: any, callback: any): any
supportsSubscriptions(): boolean
send(method: string, parameters: any[]): Promise<any[]>
sendBatch(methods: any[], moduleInstance: any): Promise<any[]>
} }
} }
} }

View File

@ -22,7 +22,9 @@ export default class StepRegisterContent extends PureComponent<
public errorState = () => ( public errorState = () => (
<div className={styles.message}> <div className={styles.message}>
Something went wrong,{' '} Something went wrong,{' '}
<a onClick={() => this.props.tryAgain()}>try again</a> <Button link onClick={() => this.props.tryAgain()}>
try again
</Button>
</div> </div>
) )