Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20.19
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "BSD-3-Clause",
"resolutions": {
"h3": "^1.15.5",
"minimatch": ">=5.1.7"
"minimatch": ">=5.1.7",
"protobufjs": "^7.5.5",
"qs": "^6.14.1",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0"
},
"scripts": {
"dev": "next dev",
Expand Down Expand Up @@ -118,7 +122,8 @@
"@types/d3-array": "^3.0.3",
"@types/d3-time-format": "^4.0.0",
"@types/lodash": "^4.14.189",
"@types/react": "latest",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@types/react-infinite-scroller": "^1.2.3",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"babel-plugin-macros": "^3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/primitives/Link.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import MuiLink, { LinkProps as MuiLinkProps } from '@mui/material/Link';
import { styled } from '@mui/material/styles';
import clsx from 'clsx';
import { clsx } from 'clsx';
import NextLink, { LinkProps as NextLinkProps } from 'next/link';
import { useRouter } from 'next/router';
import * as React from 'react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const CancelAdapterOrderActions = ({
);
}

queryClient.invalidateQueries({ queryKey: 'transactionHistory' });
queryClient.invalidateQueries({ queryKey: ['transactionHistory'] });
setMainTxState({
...mainTxState,
loading: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const CancelCowOrderActions = ({ cowOrder, blocked }: CancelCowOrderActio
updateCowOrderStatus(cowOrder.chainId, account, cowOrder.id, OrderStatus.CANCELLED);
}

queryClient.invalidateQueries({ queryKey: 'transactionHistory' });
queryClient.invalidateQueries({ queryKey: ['transactionHistory'] });
setTimeout(() => {
setMainTxState({
...mainTxState,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { BigNumberValue, valueToBigNumber } from '@aave/math-utils';
import { ExclamationIcon, RefreshIcon } from '@heroicons/react/outline';
import { Box, Button, CircularProgress, InputBase, SvgIcon, Typography } from '@mui/material';
import { BigNumber } from 'bignumber.js';
import React, { useEffect, useRef, useState } from 'react';
import NumberFormat, { NumberFormatProps } from 'react-number-format';
import { FormattedNumber } from 'src/components/primitives/FormattedNumber';
Expand Down
1 change: 0 additions & 1 deletion src/components/transactions/Withdraw/WithdrawError.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { valueToBigNumber } from '@aave/math-utils';
import { Trans } from '@lingui/macro';
import { BigNumber } from 'bignumber.js';
import {
ComputedReserveData,
ExtendedFormattedUser,
Expand Down
6 changes: 2 additions & 4 deletions src/hooks/governance/useGovernanceTokensAndPowers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { QueryObserverResult, RefetchOptions, RefetchQueryFilters } from '@tanstack/react-query';
import { QueryObserverResult, RefetchOptions } from '@tanstack/react-query';
import { ethers } from 'ethers';
import { BigNumber } from 'ethers/lib/ethers';
import { Powers } from 'src/services/GovernanceService';
Expand All @@ -11,9 +11,7 @@ interface GovernanceTokensAndPowers extends Powers, GovernanceTokensBalance {
isAaveTokenWithDelegatedPower: boolean;
isStkAaveTokenWithDelegatedPower: boolean;
isAAaveTokenWithDelegatedPower: boolean;
refetchPowers: <TPageData>(
options?: (RefetchOptions & RefetchQueryFilters<TPageData>) | undefined
) => Promise<QueryObserverResult<Powers, unknown>>;
refetchPowers: (options?: RefetchOptions) => Promise<QueryObserverResult<Powers, unknown>>;
}

export const useGovernanceTokensAndPowers = (
Expand Down
6,898 changes: 3,744 additions & 3,154 deletions yarn.lock

Large diffs are not rendered by default.

Loading