From dbbb10b684db8b86121de8613be3c11b1f4e3054 Mon Sep 17 00:00:00 2001 From: Ansgar Grunseid Date: Fri, 10 Mar 2023 00:22:23 -0800 Subject: [PATCH] update the default fil price to $5.4 usd. dynamic pricing remains broken; see https://github.com/filecoin-saturn/homepage/issues/171 --- components/TotalEarnings/TotalEarnings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/TotalEarnings/TotalEarnings.tsx b/components/TotalEarnings/TotalEarnings.tsx index 7c33f12..512e3f1 100644 --- a/components/TotalEarnings/TotalEarnings.tsx +++ b/components/TotalEarnings/TotalEarnings.tsx @@ -19,7 +19,7 @@ export default function TotalEarnings({contentId, usdText, filText, perMonthText // this default, fallback price is used when FIL's price can't be // dynamically fetched on page load, for whatever reason, and thus should be // updated periodically here -const defaultFilToUsdPrice = 3 +const defaultFilToUsdPrice = 5.4 // updated on 2023-03-10 const inputContent = useContent(contentId + ".input.calculatorInformation" ?? "") const outputContent = useContent(contentId + ".formula.earningsFormula" ?? "")