mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
make price a string
This commit is contained in:
parent
f230e3071c
commit
04e6bb0c72
@ -18,7 +18,7 @@ const AssetModel = {
|
|||||||
links: [],
|
links: [],
|
||||||
inLanguage: null,
|
inLanguage: null,
|
||||||
tags: [],
|
tags: [],
|
||||||
price: null
|
price: ''
|
||||||
},
|
},
|
||||||
curation: {
|
curation: {
|
||||||
rating: null,
|
rating: null,
|
||||||
|
@ -19,7 +19,7 @@ interface PublishState {
|
|||||||
dateCreated?: string
|
dateCreated?: string
|
||||||
description?: string
|
description?: string
|
||||||
files?: string[]
|
files?: string[]
|
||||||
price?: number
|
price?: string
|
||||||
author?: string
|
author?: string
|
||||||
type?: AssetType
|
type?: AssetType
|
||||||
license?: string
|
license?: string
|
||||||
@ -44,7 +44,7 @@ export default class Publish extends Component<{}, PublishState> {
|
|||||||
dateCreated: new Date().toISOString(),
|
dateCreated: new Date().toISOString(),
|
||||||
description: '',
|
description: '',
|
||||||
files: [],
|
files: [],
|
||||||
price: 0,
|
price: '0',
|
||||||
author: '',
|
author: '',
|
||||||
type: 'dataset' as AssetType,
|
type: 'dataset' as AssetType,
|
||||||
license: '',
|
license: '',
|
||||||
@ -122,7 +122,7 @@ export default class Publish extends Component<{}, PublishState> {
|
|||||||
dateCreated: new Date().toISOString(),
|
dateCreated: new Date().toISOString(),
|
||||||
description: '',
|
description: '',
|
||||||
files: [],
|
files: [],
|
||||||
price: 0,
|
price: '0',
|
||||||
author: '',
|
author: '',
|
||||||
type: 'dataset' as AssetType,
|
type: 'dataset' as AssetType,
|
||||||
license: '',
|
license: '',
|
||||||
|
Loading…
Reference in New Issue
Block a user