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 {
display: flex;
justify-content: space-between;
margin-top: $spacer * 2;
padding-top: $spacer / 2;
button:last-child {
min-width: 12rem;

View File

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

View File

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