1
0
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:
Matthias Kretschmann 2019-05-23 18:33:38 +02:00
parent f230e3071c
commit 04e6bb0c72
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ const AssetModel = {
links: [],
inLanguage: null,
tags: [],
price: null
price: ''
},
curation: {
rating: null,

View File

@ -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: '',