diff --git a/packages/nextjs/contexts/AuthContext.tsx b/packages/nextjs/contexts/AuthContext.tsx index 8dc852f..d55fb59 100644 --- a/packages/nextjs/contexts/AuthContext.tsx +++ b/packages/nextjs/contexts/AuthContext.tsx @@ -44,7 +44,7 @@ export default function AuthContextProvider({ children }: { children: React.Reac } generateKeypair(); - }, [address]); + }, [address, generateKeypair]); const { data: isRegistered, refetch: refetchIsRegistered } = useScaffoldContractRead({ contractName: "MACIWrapper",