Skip to content

Commit

Permalink
feat: remove the 'mock-qa-rewards-address'
Browse files Browse the repository at this point in the history
  • Loading branch information
solidovic committed Aug 22, 2024
1 parent f16e144 commit 7c0cbcd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions features/rewards/hooks/useGetCurrentAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { useSDK } from '@lido-sdk/react';
import { resolveEns, isValidEns, isValidAddress } from 'features/rewards/utils';
import { useCurrentStaticRpcProvider } from 'shared/hooks/use-current-static-rpc-provider';
import { useDappStatus } from 'shared/hooks/use-dapp-status';
import { overrideWithQAMockString } from 'utils/qa';

type UseGetCurrentAddress = () => {
address: string;
Expand Down Expand Up @@ -90,9 +89,7 @@ export const useGetCurrentAddress: UseGetCurrentAddress = () => {
}
// From a connected wallet
if (account && isSupportedChain) {
setInputValue(
overrideWithQAMockString(account, 'mock-qa-rewards-address'),
);
setInputValue(account);
}
}
}, [account, query.address, isReady, setInputValue, isSupportedChain]);
Expand Down

0 comments on commit 7c0cbcd

Please sign in to comment.