Skip to content

Commit

Permalink
refactor: update token references from MATIC to POL across various co…
Browse files Browse the repository at this point in the history
…mponents for consistency in the application
  • Loading branch information
Yoginth committed Sep 5, 2024
1 parent d630f14 commit 23f561c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/components/Pro/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Pro: NextPage = () => {
<h3 className="font-bold">{details.name}</h3>
<p className="mt-4 flex items-baseline space-x-3">
<img
alt="MATIC"
alt="POL"
className="size-7"
src={`${STATIC_IMAGES_URL}/tokens/matic.svg`}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const DecentOpenActionModule: FC<DecentOpenActionModuleProps> = ({
(rate) => rate.address === selectedNftOaCurrency?.toLowerCase()
)?.fiat || 0;

// fees are always priced in MATIC
// fees are always priced in POL
const maticUsdPrice =
fiatRates.find((rate) => rate.symbol === 'WMATIC')?.fiat || 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const ChooseHandle: FC = () => {
}
type="submit"
>
Mint for {SIGNUP_PRICE} MATIC
Mint for {SIGNUP_PRICE} POL
</Button>
) : (
<Moonpay disabled={disabled} />
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/components/Shared/Auth/Signup/Moonpay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Moonpay: FC<MoonpayProps> = ({ disabled }) => {
const handleBuy = () => {
return window.open(
urlcat(MOONPAY_URL, {
currencyCode: 'MATIC',
currencyCode: 'POL',
redirectURL: window.location.href,
walletAddress: address
}),
Expand All @@ -31,7 +31,7 @@ const Moonpay: FC<MoonpayProps> = ({ disabled }) => {
icon={<CurrencyDollarIcon className="size-5" />}
onClick={handleBuy}
>
Buy MATIC
Buy POL
</Button>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const WrapWmatic: FC<WrapWmaticProps> = ({ errorMessage, moduleAmount }) => {
}
onClick={deposit}
>
Wrap MATIC to {currency}
Wrap POL to {currency}
</Button>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/Staff/Signup/SignupPrice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const SignupPrice: FC = () => {
<NumberedStat
count={priceInMatic.toString() || '0'}
name="Signup Price"
suffix="MATIC / profile"
suffix="POL / profile"
/>
);
};
Expand Down

0 comments on commit 23f561c

Please sign in to comment.