From d1b938eece6336deba8829a2c0d7d2af11bad654 Mon Sep 17 00:00:00 2001 From: Sewmina Date: Wed, 31 Jul 2024 21:19:26 +0530 Subject: [PATCH] fix --- pages/auth.tsx | 4 ++-- tsconfig.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/auth.tsx b/pages/auth.tsx index 765c369..70fd97d 100644 --- a/pages/auth.tsx +++ b/pages/auth.tsx @@ -1,8 +1,8 @@ "use client"; -import { useEffect, useState } from 'react'; +import { useEffect } from 'react'; import axios from 'axios'; -import { PrivyProvider, usePrivy } from '@privy-io/react-auth'; +import { usePrivy } from '@privy-io/react-auth'; import Link from 'next/link'; const Home: React.FC = () => { diff --git a/tsconfig.json b/tsconfig.json index 6bd2180..fcb27e4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -19,7 +19,8 @@ "noImplicitReturns": false, "noPropertyAccessFromIndexSignature": false, "exactOptionalPropertyTypes": false, - "moduleResolution": "node" + "moduleResolution": "node", + "noUnusedLocals": false }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], "exclude": ["node_modules"]