mirror of
https://github.com/status-im/liquid-funding.git
synced 2025-01-10 19:47:04 +00:00
create project uses context currencies
This commit is contained in:
parent
8842d47a45
commit
d5438326c7
@ -199,7 +199,7 @@ const addProjectSucessMsg = response => {
|
||||
}
|
||||
const SubmissionSection = ({ classes, history }) => {
|
||||
const [uploads, setUploads] = useState({})
|
||||
const { account, enableEthereum, openSnackBar, prices } = useContext(FundingContext)
|
||||
const { account, currencies, enableEthereum, openSnackBar, prices } = useContext(FundingContext)
|
||||
const windowSize = useWindowSize()
|
||||
const isSmall = windowSize.innerWidth < 800
|
||||
return (
|
||||
@ -261,7 +261,7 @@ const SubmissionSection = ({ classes, history }) => {
|
||||
}) => {
|
||||
const { firstHalf, secondHalf, fullWidth, halfsRows } = classes
|
||||
const { goalToken, goal } = values
|
||||
const usdValue = convertTokenAmountUsd(goalToken, goal, prices)
|
||||
const usdValue = convertTokenAmountUsd(goalToken, goal, prices, currencies)
|
||||
return (
|
||||
<form onSubmit={handleSubmit} className={classes.submissionRoot}>
|
||||
<div className={classnames(firstHalf, halfsRows, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user