Skip to content

Commit

Permalink
fix: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Oct 19, 2023
1 parent 2eaee07 commit b953dc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/veyfi/components/ViewStakeUnstakeGauges.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export function StakeUnstakeGauges(): ReactElement {
const {address} = useWeb3();
const {gaugesMap, positionsMap} = useGauge();
const {vaults, prices} = useYearn();
const {balances, getBalance} = useWallet();
const {getBalance} = useWallet();
const {dYFIPrice} = useOption();
const [isLoadingGauges, set_isLoadingGauges] = useState(true);
const {search, onSearch} = useQueryArguments();
Expand Down Expand Up @@ -199,7 +199,7 @@ export function StakeUnstakeGauges(): ReactElement {
}
set_isLoadingGauges(false);
return data;
}, [gaugesMap, vaults, prices, positionsMap, dYFIPrice, balances]);
}, [vaults, gaugesMap, getBalance, prices, positionsMap, dYFIPrice]);

const searchedGaugesData = useMemo((): TGaugeData[] => {
if (!search) {
Expand Down

0 comments on commit b953dc1

Please sign in to comment.