diff --git a/client/src/components/atoms/Form/Input.tsx b/client/src/components/atoms/Form/Input.tsx index 047d32f..119126a 100644 --- a/client/src/components/atoms/Form/Input.tsx +++ b/client/src/components/atoms/Form/Input.tsx @@ -168,34 +168,34 @@ export default class Input extends PureComponent { /> ) + default: + return ( +
+ {group ? ( + + + {group} + + ) : ( + + )} + + {type === 'search' && } +
+ ) } - - return ( -
- {group ? ( - - - {group} - - ) : ( - - )} - - {type === 'search' && } -
- ) } public render() { diff --git a/client/src/components/molecules/Asset.tsx b/client/src/components/molecules/Asset.tsx index dfcd7b1..93733ec 100644 --- a/client/src/components/molecules/Asset.tsx +++ b/client/src/components/molecules/Asset.tsx @@ -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' diff --git a/client/src/context/UserProvider.tsx b/client/src/context/UserProvider.tsx index c7ff4cc..a930f03 100644 --- a/client/src/context/UserProvider.tsx +++ b/client/src/context/UserProvider.tsx @@ -13,10 +13,7 @@ declare global { web3: Web3 ethereum: { enable(): void - host: string - supportsSubscriptions(): boolean - send(method: string, parameters: any[]): Promise - sendBatch(methods: any[], moduleInstance: any): Promise + send(payload: any, callback: any): any } } } diff --git a/client/src/routes/Publish/StepRegisterContent.tsx b/client/src/routes/Publish/StepRegisterContent.tsx index 982141f..aaf5f53 100644 --- a/client/src/routes/Publish/StepRegisterContent.tsx +++ b/client/src/routes/Publish/StepRegisterContent.tsx @@ -22,7 +22,9 @@ export default class StepRegisterContent extends PureComponent< public errorState = () => (
Something went wrong,{' '} - this.props.tryAgain()}>try again +
)