diff --git a/contracts/lib/forge-std b/contracts/lib/forge-std index 8f24d6b04..066ff16c5 160000 --- a/contracts/lib/forge-std +++ b/contracts/lib/forge-std @@ -1 +1 @@ -Subproject commit 8f24d6b04c92975e0795b5868aa0d783251cdeaa +Subproject commit 066ff16c5c03e6f931cd041fd366bc4be1fae82a diff --git a/web/src/pages/Courts/CourtDetails/StakePanel/InputDisplay.tsx b/web/src/pages/Courts/CourtDetails/StakePanel/InputDisplay.tsx index ef9ce71fa..c8bca450e 100644 --- a/web/src/pages/Courts/CourtDetails/StakePanel/InputDisplay.tsx +++ b/web/src/pages/Courts/CourtDetails/StakePanel/InputDisplay.tsx @@ -7,7 +7,7 @@ import { useDebounce } from "react-use"; import { useParsedAmount } from "hooks/useParsedAmount"; import { usePnkData } from "hooks/usePNKData"; import { commify, uncommify } from "utils/commify"; -import { formatETH, formatPNK, roundNumberDown } from "utils/format"; +import { formatPNK, roundNumberDown } from "utils/format"; import { isUndefined } from "utils/index"; import { useCourtDetails } from "queries/useCourtDetails"; @@ -98,7 +98,7 @@ const InputDisplay: React.FC = ({ action, amount, setAmount }) => parsedAmount !== 0n && jurorBalance[2] + parsedAmount < BigInt(courtDetails?.court?.minStake) ) { - setErrorMsg(`Min Stake in court is: ${formatETH(courtDetails?.court?.minStake)}`); + setErrorMsg(`Min Stake in court is: ${formatPNK(courtDetails?.court?.minStake)} PNK`); } else { setErrorMsg(undefined); }