amount part deux

This commit is contained in:
jessop 2020-07-03 11:03:29 -04:00
parent 64d67026cc
commit 70ee34f52e

View file

@ -21,7 +21,7 @@ const MAX_TAG_SELECT = 5;
type Props = { type Props = {
claim: ChannelClaim, claim: ChannelClaim,
title: string, title: string,
amount: string, amount: number,
coverUrl: string, coverUrl: string,
thumbnailUrl: string, thumbnailUrl: string,
location: { search: string }, location: { search: string },
@ -101,7 +101,7 @@ function ChannelForm(props: Props) {
thumbnailUrl, thumbnailUrl,
description, description,
title, title,
amount: Number(amount) || 0.001, amount: amount || 0.001,
languages: languages || [], languages: languages || [],
locations: locations || [], locations: locations || [],
tags: tags tags: tags