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 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.'}
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 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' 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'