diff --git a/app/gastap/components/Modals/ClaimModal/index.tsx b/app/gastap/components/Modals/ClaimModal/index.tsx index f7a90f32..be3587a9 100644 --- a/app/gastap/components/Modals/ClaimModal/index.tsx +++ b/app/gastap/components/Modals/ClaimModal/index.tsx @@ -131,6 +131,7 @@ const ClaimModalBody = ({ chain }: { chain: Chain }) => { const ClaimModal = () => { const { closeClaimModal, activeChain, isNonEvmActive } = useGasTapContext(); const { brightidModalStatus } = useGlobalContext(); + const { userProfile } = useUserProfileContext(); const isOpen = useMemo(() => { return !!activeChain && brightidModalStatus === BrightIdModalState.CLOSED; @@ -141,9 +142,13 @@ const ClaimModal = () => { return ( <> { className="claim-modal-wrapper flex flex-col items-center justify-center pt-5" data-testid={`chain-claim-modal-${activeChain.pk}`} > +
+ You need to connect your brightID first before claiming gas +
diff --git a/utils/hooks/generateKeys.ts b/utils/hooks/generateKeys.ts index 1dc12fdc..85418088 100644 --- a/utils/hooks/generateKeys.ts +++ b/utils/hooks/generateKeys.ts @@ -46,9 +46,9 @@ const useGenerateKeys = (): { const address = wallet.address; // Store the keys in localStorage - localStorage.setItem("privateKey", privateKey); - localStorage.setItem("publicKey", publicKey); - localStorage.setItem("address", address); + // localStorage.setItem("privateKey", privateKey); + // localStorage.setItem("publicKey", publicKey); + // localStorage.setItem("address", address); // Update the state with the keys setKeys({ privateKey, publicKey, address });