diff --git a/package.json b/package.json index 45af791b..ecde5db6 100755 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "@capacitor/status-bar": "7.0.1", "@capawesome/capacitor-android-edge-to-edge-support": "7.2.2", "@floating-ui/react": "0.26.1", - "@plebbit/plebbit-react-hooks": "https://github.com/plebbit/plebbit-react-hooks.git#327920bb0d933388a3eb067a89af66d5d21baaae", + "@plebbit/plebbit-react-hooks": "https://github.com/plebbit/plebbit-react-hooks.git#eecac4503b7099b2dde22505869f2a70d280e14f", "@testing-library/jest-dom": "5.14.1", "@testing-library/react": "13.0.0", "@testing-library/user-event": "13.2.1", diff --git a/src/components/challenge-modal/challenge-modal.tsx b/src/components/challenge-modal/challenge-modal.tsx index d059b5ab..d10321ab 100644 --- a/src/components/challenge-modal/challenge-modal.tsx +++ b/src/components/challenge-modal/challenge-modal.tsx @@ -65,7 +65,7 @@ const RegularChallengeContent = ({ challenge, closeModal }: RegularChallengeCont const currentChallenge = challenges?.[currentChallengeIndex]; const isTextChallenge = currentChallenge?.type === 'text/plain'; const isImageChallenge = currentChallenge?.type === 'image/png'; - const isIframeChallenge = currentChallenge?.type === 'text/url-iframe'; + const isIframeChallenge = currentChallenge?.type === 'url/iframe'; const isValidAnswer = (index: number) => { return !!answers[index] && answers[index].trim() !== ''; @@ -221,7 +221,7 @@ const RegularChallengeContent = ({ challenge, closeModal }: RegularChallengeCont