From 958f09a34f06a0ca80395f459041d9e02031b4fc Mon Sep 17 00:00:00 2001 From: Pavel Date: Sat, 23 Nov 2024 01:50:13 +0300 Subject: [PATCH 1/5] mangoV4.tsx --- components/instructions/programs/mangoV4.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/instructions/programs/mangoV4.tsx b/components/instructions/programs/mangoV4.tsx index a5a451ee8c..142d9d3c07 100644 --- a/components/instructions/programs/mangoV4.tsx +++ b/components/instructions/programs/mangoV4.tsx @@ -325,7 +325,7 @@ const instructions = () => ({ label, valKey, suffix, - prefix: perfix, + prefix: prefix, }: { label: string valKey: string From ff6544978c643e72332561fa9bbb12aba56a180a Mon Sep 17 00:00:00 2001 From: Pavel Date: Sat, 23 Nov 2024 01:53:01 +0300 Subject: [PATCH 2/5] TransferTokensModal.tsx --- HeliumVotePlugin/components/TransferTokensModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HeliumVotePlugin/components/TransferTokensModal.tsx b/HeliumVotePlugin/components/TransferTokensModal.tsx index 4cfa299452..8d4c8e209d 100644 --- a/HeliumVotePlugin/components/TransferTokensModal.tsx +++ b/HeliumVotePlugin/components/TransferTokensModal.tsx @@ -97,7 +97,7 @@ export const TransferTokensModal: React.FC = ({
{hasTransferablePositions - ? 'You cant transfer to Landrush positions after the Landrush period, and transfering out of one after the Landrush period, will result in losing the multiplier!' + ? 'You cant transfer to Landrush positions after the Landrush period, and transferring out of one after the Landrush period, will result in losing the multiplier!' : 'There are no positions that meet this criteria.'}
From 4aa449aefd3ae8f50542a2a0b23f5dfe6610c885 Mon Sep 17 00:00:00 2001 From: Pavel Date: Sat, 23 Nov 2024 01:57:01 +0300 Subject: [PATCH 3/5] PositionCard.tsx --- HeliumVotePlugin/components/PositionCard.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/HeliumVotePlugin/components/PositionCard.tsx b/HeliumVotePlugin/components/PositionCard.tsx index 7a3c0adf21..079fb4ba2b 100644 --- a/HeliumVotePlugin/components/PositionCard.tsx +++ b/HeliumVotePlugin/components/PositionCard.tsx @@ -132,8 +132,8 @@ export const PositionCard: React.FC = ({ } = useFlipPositionLockupKind() const { - loading: isTransfering, - error: transferingError, + loading: isTransferring, + error: transferringError, transferPosition, } = useTransferPosition() @@ -267,7 +267,7 @@ export const PositionCard: React.FC = ({ targetPosition, }) - if (!transferingError) { + if (!transferringError) { await refetchState() } } @@ -350,7 +350,7 @@ export const PositionCard: React.FC = ({ isExtending || isSpliting || isClosing || - isTransfering || + isTransferring || isFlipping || isDelegating || isUndelegating || @@ -489,7 +489,7 @@ export const PositionCard: React.FC = ({ className="w-full" onClick={() => setIsTransferModalOpen(true)} disabled={isSubmitting} - isLoading={isTransfering} + isLoading={isTransferring} > Transfer From f7a588a8016a4de7e3a65a8bbccf64cb1bf509fa Mon Sep 17 00:00:00 2001 From: Pavel Date: Sat, 23 Nov 2024 01:59:22 +0300 Subject: [PATCH 4/5] useVoteRecords.ts --- hooks/useVoteRecords.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/useVoteRecords.ts b/hooks/useVoteRecords.ts index 6eeb2c1500..c3882edf73 100644 --- a/hooks/useVoteRecords.ts +++ b/hooks/useVoteRecords.ts @@ -21,7 +21,7 @@ import { PublicKey } from '@solana/web3.js' import { useRealmQuery } from './queries/realm' import { useRealmCommunityMintInfoQuery } from './queries/mintInfo' import useLegacyConnectionContext from './useLegacyConnectionContext' -import { calculateMaxVoteScore } from '@models/proposal/calulateMaxVoteScore' +import { calculateMaxVoteScore } from '@models/proposal/calculateMaxVoteScore' import { getNetworkFromEndpoint } from '@utils/connection' import { fetchDigitalAssetsByOwner } from './queries/digitalAssets' import { useNftRegistrarCollection } from './useNftRegistrarCollection' From a91e98496ed02a1bdcfa56fa651192928ce4c267 Mon Sep 17 00:00:00 2001 From: Pavel Date: Sat, 23 Nov 2024 02:03:41 +0300 Subject: [PATCH 5/5] useVoteByCouncilToggle.ts --- hooks/useVoteByCouncilToggle.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/useVoteByCouncilToggle.ts b/hooks/useVoteByCouncilToggle.ts index 7c17104d0b..cd623151c6 100644 --- a/hooks/useVoteByCouncilToggle.ts +++ b/hooks/useVoteByCouncilToggle.ts @@ -1,4 +1,4 @@ -// The voteByCouncil toggle UI is avaiable on a number of views in Realms. +// The voteByCouncil toggle UI is available on a number of views in Realms. // Whether it is available, or enabled, is determined by the realm's config and the user's tokens. // This hook encapsulates this logic import { useEffect, useState } from 'react'