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: [],
|
||||
inLanguage: null,
|
||||
tags: [],
|
||||
price: null
|
||||
price: ''
|
||||
},
|
||||
curation: {
|
||||
rating: null,
|
||||
|
@ -19,7 +19,7 @@ interface PublishState {
|
||||
dateCreated?: string
|
||||
description?: string
|
||||
files?: string[]
|
||||
price?: number
|
||||
price?: string
|
||||
author?: string
|
||||
type?: AssetType
|
||||
license?: string
|
||||
@ -44,7 +44,7 @@ export default class Publish extends Component<{}, PublishState> {
|
||||
dateCreated: new Date().toISOString(),
|
||||
description: '',
|
||||
files: [],
|
||||
price: 0,
|
||||
price: '0',
|
||||
author: '',
|
||||
type: 'dataset' as AssetType,
|
||||
license: '',
|
||||
@ -122,7 +122,7 @@ export default class Publish extends Component<{}, PublishState> {
|
||||
dateCreated: new Date().toISOString(),
|
||||
description: '',
|
||||
files: [],
|
||||
price: 0,
|
||||
price: '0',
|
||||
author: '',
|
||||
type: 'dataset' as AssetType,
|
||||
license: '',
|
||||
|
Loading…
Reference in New Issue
Block a user