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,34 +168,34 @@ export default class Input extends PureComponent<InputProps, InputState> {
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
default:
|
||||
return (
|
||||
<div className={wrapClass}>
|
||||
{group ? (
|
||||
<InputGroup>
|
||||
<input
|
||||
id={name}
|
||||
className={styles.input}
|
||||
onFocus={this.toggleFocus}
|
||||
onBlur={this.toggleFocus}
|
||||
{...this.props}
|
||||
/>
|
||||
{group}
|
||||
</InputGroup>
|
||||
) : (
|
||||
<input
|
||||
id={name}
|
||||
className={styles.input}
|
||||
onFocus={this.toggleFocus}
|
||||
onBlur={this.toggleFocus}
|
||||
{...this.props}
|
||||
/>
|
||||
)}
|
||||
|
||||
{type === 'search' && <SearchIcon />}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={wrapClass}>
|
||||
{group ? (
|
||||
<InputGroup>
|
||||
<input
|
||||
id={name}
|
||||
className={styles.input}
|
||||
onFocus={this.toggleFocus}
|
||||
onBlur={this.toggleFocus}
|
||||
{...this.props}
|
||||
/>
|
||||
{group}
|
||||
</InputGroup>
|
||||
) : (
|
||||
<input
|
||||
id={name}
|
||||
className={styles.input}
|
||||
onFocus={this.toggleFocus}
|
||||
onBlur={this.toggleFocus}
|
||||
{...this.props}
|
||||
/>
|
||||
)}
|
||||
|
||||
{type === 'search' && <SearchIcon />}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
public render() {
|
||||
|
@ -2,7 +2,6 @@ import React from 'react'
|
||||
import { Link } from 'react-router-dom'
|
||||
import moment from 'moment'
|
||||
import Dotdotdot from 'react-dotdotdot'
|
||||
import Markdown from '../../components/atoms/Markdown'
|
||||
import styles from './Asset.module.scss'
|
||||
import CategoryImage from '../atoms/CategoryImage'
|
||||
|
||||
|
@ -13,10 +13,7 @@ declare global {
|
||||
web3: Web3
|
||||
ethereum: {
|
||||
enable(): void
|
||||
host: string
|
||||
supportsSubscriptions(): boolean
|
||||
send(method: string, parameters: any[]): Promise<any[]>
|
||||
sendBatch(methods: any[], moduleInstance: any): Promise<any[]>
|
||||
send(payload: any, callback: any): any
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -22,7 +22,9 @@ export default class StepRegisterContent extends PureComponent<
|
||||
public errorState = () => (
|
||||
<div className={styles.message}>
|
||||
Something went wrong,{' '}
|
||||
<a onClick={() => this.props.tryAgain()}>try again</a>
|
||||
<Button link onClick={() => this.props.tryAgain()}>
|
||||
try again
|
||||
</Button>
|
||||
</div>
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user