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