diff --git a/client/src/models/AssetModel.ts b/client/src/models/AssetModel.ts index 5dd6023..e250909 100644 --- a/client/src/models/AssetModel.ts +++ b/client/src/models/AssetModel.ts @@ -18,7 +18,7 @@ const AssetModel = { links: [], inLanguage: null, tags: [], - price: null + price: '' }, curation: { rating: null, diff --git a/client/src/routes/Publish/index.tsx b/client/src/routes/Publish/index.tsx index f417b98..c78f009 100644 --- a/client/src/routes/Publish/index.tsx +++ b/client/src/routes/Publish/index.tsx @@ -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: '',