From c4566d71086193a8617c3733e2a1dbfe07037965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elio=20Brice=C3=B1o?= Date: Fri, 8 Nov 2024 18:23:58 -0400 Subject: [PATCH] tech(quest-details): add on show metamask --- src/frontend/components/UI/QuestDetails/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/components/UI/QuestDetails/index.tsx b/src/frontend/components/UI/QuestDetails/index.tsx index 516a3ab53..1703f3b4b 100644 --- a/src/frontend/components/UI/QuestDetails/index.tsx +++ b/src/frontend/components/UI/QuestDetails/index.tsx @@ -9,6 +9,7 @@ import { useTranslation } from 'react-i18next' import { useAccount } from 'wagmi' import { useSyncPlayStreakWithExternalSource } from 'frontend/hooks/useSyncPlayStreakWithExternalSource' import claimedRewardToastState from 'frontend/state/ClaimedRewardToastState' +import extensionState from 'frontend/state/ExtensionState' /** * Don't delete this comment block since it's used for translation parsing for keys that are on the quests-ui library. @@ -92,6 +93,7 @@ export default function QuestDetails({ onRewardClaimed={(reward) => claimedRewardToastState.showClaimedReward(reward) } + onShowMetaMaskPopup={() => extensionState.showPopup()} onPlayClick={onPlayClick} getPendingExternalSync={getPendingExternalSync} syncPlayStreakWithExternalSource={syncPlayStreakWithExternalSource}