Skip to content

Commit 4098168

Browse files
authored
Merge pull request #29 from Sohan-Rout/main1
Fix : added cloudfare pages
2 parents 5172ebe + 9d1c794 commit 4098168

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

app/login/page.jsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ import { useRouter } from 'next/navigation'
55
import { FiMail, FiLock, FiUser, FiLogIn, FiUserPlus, FiSun, FiMoon } from 'react-icons/fi'
66
import { motion } from 'framer-motion'
77
import Link from 'next/link'
8-
import dynamic from 'next/dynamic'
9-
const Turnstile = dynamic(() => import('@marsidev/react-turnstile'), { ssr: false })
8+
import dynamic from "next/dynamic";
9+
10+
const Turnstile = dynamic(
11+
() => import("@marsidev/react-turnstile").then((mod) => mod.Turnstile),
12+
{ ssr: false }
13+
);
1014

1115
export default function LoginPage() {
1216
const [email, setEmail] = useState('')

0 commit comments

Comments
 (0)