Skip to content

Commit

Permalink
iframe varificationを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
eatski committed Aug 13, 2024
1 parent efb93b4 commit 15bd33a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 50 deletions.
3 changes: 0 additions & 3 deletions src/components/play/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import Script from "next/script";
import { useCallback, useState } from "react";
import { z } from "zod";
import { useConfirmModal } from "../confirmModal";
import { useVerificationIframe } from "../verification/VerificationIframe";
import { AnswerForm } from "./components/answerForm";
import { AnswerResult } from "./components/answerResult";
import { Feed } from "./components/feed";
Expand Down Expand Up @@ -154,7 +153,6 @@ export function Play({
queryFn: () => fetchCanPlay(),
});
const { confirm, view } = useConfirmModal();
const { iframe } = useVerificationIframe();
if (canPlayResult && !canPlayResult.canPlay) {
switch (canPlayResult.reason) {
case "desktop_only":
Expand All @@ -164,7 +162,6 @@ export function Play({

return (
<>
{iframe}
<Script
strategy="lazyOnload"
src={`https://www.google.com/recaptcha/api.js?render=${CLIENT_KEY}`}
Expand Down
23 changes: 0 additions & 23 deletions src/components/verification/VerificationIframe.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions src/components/verification/VerificationIframeContent.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions src/components/verification/constants.ts

This file was deleted.

0 comments on commit 15bd33a

Please sign in to comment.