1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

fix resetting form

This commit is contained in:
Matthias Kretschmann 2019-02-20 14:07:29 +01:00
parent 2688a7a8c5
commit 2656bdb515
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 5 additions and 4 deletions

View File

@ -17,7 +17,7 @@
.actions { .actions {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-top: $spacer * 2; padding-top: $spacer / 2;
button:last-child { button:last-child {
min-width: 12rem; min-width: 12rem;

View File

@ -24,12 +24,12 @@ export default class StepRegisterContent extends PureComponent<
) )
public publishedState = () => ( public publishedState = () => (
<div> <p>
Your asset is published! See it{' '} Your asset is published! See it{' '}
<a href={'/asset/' + this.props.state.publishedDid}>here</a>, submit <a href={'/asset/' + this.props.state.publishedDid}>here</a>, submit
another asset by clicking{' '} another asset by clicking{' '}
<a onClick={() => this.props.toStart()}>here</a> <a onClick={() => this.props.toStart()}>here</a>
</div> </p>
) )
public render() { public render() {

View File

@ -96,7 +96,8 @@ class Publish extends Component<{}, PublishState> {
copyrightHolder: '', copyrightHolder: '',
categories: [], categories: [],
isPublishing: false, isPublishing: false,
isPublished: false isPublished: false,
currentStep: 1
}) })
} }