Skip to content

Commit

Permalink
fix: ReferenceError: window is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaynegi45 committed Dec 5, 2024
1 parent 1a7c4cd commit bf10fef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/app/auth/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"use client";

import {useEffect, useState} from "react";
import {useForm} from "react-hook-form";
import {zodResolver} from "@hookform/resolvers/zod";
Expand Down Expand Up @@ -267,7 +268,7 @@ export default function Auth() {
</form>

{/* Google Sign-In */}
<GoogleSignIn/>
{/*<GoogleSignIn/>*/}

<p
onClick={() => {
Expand Down

0 comments on commit bf10fef

Please sign in to comment.