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:
parent
2688a7a8c5
commit
2656bdb515
@ -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;
|
||||
|
@ -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() {
|
||||
|
@ -96,7 +96,8 @@ class Publish extends Component<{}, PublishState> {
|
||||
copyrightHolder: '',
|
||||
categories: [],
|
||||
isPublishing: false,
|
||||
isPublished: false
|
||||
isPublished: false,
|
||||
currentStep: 1
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user