We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e319437 + 454dd3b commit 5172ebeCopy full SHA for 5172ebe
1 file changed
app/login/page.jsx
@@ -5,7 +5,8 @@ import { useRouter } from 'next/navigation'
5
import { FiMail, FiLock, FiUser, FiLogIn, FiUserPlus, FiSun, FiMoon } from 'react-icons/fi'
6
import { motion } from 'framer-motion'
7
import Link from 'next/link'
8
-import Turnstile from '@marsidev/react-turnstile'
+import dynamic from 'next/dynamic'
9
+const Turnstile = dynamic(() => import('@marsidev/react-turnstile'), { ssr: false })
10
11
export default function LoginPage() {
12
const [email, setEmail] = useState('')
0 commit comments