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"]