diff --git a/src/components/transactions/GovRepresentatives/GovRepresentativesModalContent.tsx b/src/components/transactions/GovRepresentatives/GovRepresentativesModalContent.tsx index 204ad9422c..fbaad06dd8 100644 --- a/src/components/transactions/GovRepresentatives/GovRepresentativesModalContent.tsx +++ b/src/components/transactions/GovRepresentatives/GovRepresentativesModalContent.tsx @@ -73,7 +73,7 @@ export const GovRepresentativesContent = ({ const isDirty = reps.some((r) => { const rep = representatives.find((re) => re.chainId === r.chainId); - // dirty if remvoing or changing address from initial value + // dirty if removing or changing address from initial value if (!rep) return false; return ( diff --git a/src/layouts/AppHeader.tsx b/src/layouts/AppHeader.tsx index 7dc9d65fc5..fc1670303b 100644 --- a/src/layouts/AppHeader.tsx +++ b/src/layouts/AppHeader.tsx @@ -124,7 +124,7 @@ export function AppHeader() { const disableTestnet = () => { localStorage.setItem('testnetsEnabled', 'false'); - // Set window.location to trigger a page reload when navigating to the the dashboard + // Set window.location to trigger a page reload when navigating to the dashboard window.location.href = '/'; }; @@ -134,7 +134,7 @@ export function AppHeader() { localStorage.removeItem('forkBaseChainId'); localStorage.removeItem('forkNetworkId'); localStorage.removeItem('forkRPCUrl'); - // Set window.location to trigger a page reload when navigating to the the dashboard + // Set window.location to trigger a page reload when navigating to the dashboard window.location.href = '/'; }; diff --git a/src/layouts/components/TestNetModeSwitcher.tsx b/src/layouts/components/TestNetModeSwitcher.tsx index df1a883d5b..933ec77117 100644 --- a/src/layouts/components/TestNetModeSwitcher.tsx +++ b/src/layouts/components/TestNetModeSwitcher.tsx @@ -18,7 +18,7 @@ export const TestNetModeSwitcher = ({ component = ListItem }: TestNetModeSwitche const newState = !testnetsEnabled; setTestnetsMode(!testnetsEnabled); localStorage.setItem(testnetsEnabledId, newState ? 'true' : 'false'); - // Set window.location to trigger a page reload when navigating to the the dashboard + // Set window.location to trigger a page reload when navigating to the dashboard window.location.href = '/'; }; diff --git a/src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsList.tsx b/src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsList.tsx index 02e2fdceda..7bfb459182 100644 --- a/src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsList.tsx +++ b/src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsList.tsx @@ -218,7 +218,7 @@ export const SupplyAssetsList = () => { setSortName={setSortName} setSortDesc={setSortDesc} sortKey={col.sortKey} - source="Supplies Dashbaord" + source="Supplies Dashboard" > {col.title} diff --git a/src/store/poolSlice.ts b/src/store/poolSlice.ts index 46fa55b603..ec365828ad 100644 --- a/src/store/poolSlice.ts +++ b/src/store/poolSlice.ts @@ -104,7 +104,7 @@ export interface PoolSlice { claimRewards: ( args: ClaimRewardsActionsProps & { formattedReserves: FormattedReservesAndIncentives[] } ) => Promise; - // TODO: optimize types to use only neccessary properties + // TODO: optimize types to use only necessary properties swapCollateral: (args: SwapActionProps) => Promise; withdrawAndSwitch: (args: WithdrawAndSwitchActionProps) => PopulatedTransaction; repay: (args: RepayArgs) => PopulatedTransaction;