mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
cleanup asset model
This commit is contained in:
parent
dd6f6966ce
commit
d3bf27fddc
@ -19,15 +19,6 @@ const AssetModel = {
|
|||||||
inLanguage: '',
|
inLanguage: '',
|
||||||
tags: [],
|
tags: [],
|
||||||
price: ''
|
price: ''
|
||||||
},
|
|
||||||
curation: {
|
|
||||||
rating: null,
|
|
||||||
numVotes: null,
|
|
||||||
schema: null
|
|
||||||
},
|
|
||||||
additionalInformation: {
|
|
||||||
updateFrequency: null,
|
|
||||||
structuredMarkup: []
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -285,10 +285,6 @@ export default class Publish extends Component<{}, PublishState> {
|
|||||||
type: this.state.type,
|
type: this.state.type,
|
||||||
categories: [this.state.categories]
|
categories: [this.state.categories]
|
||||||
})
|
})
|
||||||
// curation: Object.assign(AssetModel.curation),
|
|
||||||
// additionalInformation: Object.assign(
|
|
||||||
// AssetModel.additionalInformation
|
|
||||||
// )
|
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user