mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
fixes
This commit is contained in:
parent
fe821f9548
commit
ffb049b1c3
@ -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 {
|
||||||
|
@ -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'
|
||||||
|
|
||||||
|
@ -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[]>
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user