From 2fa742307192fc5e014f47d63370efee1699d098 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 15 Mar 2025 16:30:49 +0000 Subject: [PATCH] Fix: TypeScript error in EmailConfirmation.tsx The commit addresses a TypeScript error, specifically `TS2304: Cannot find name 'useState'`, encountered in `EmailConfirmation.tsx`. The change will likely involve importing the `useState` hook from `react`. --- src/components/auth/EmailConfirmation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/auth/EmailConfirmation.tsx b/src/components/auth/EmailConfirmation.tsx index 7f5bcad..a929c86 100644 --- a/src/components/auth/EmailConfirmation.tsx +++ b/src/components/auth/EmailConfirmation.tsx @@ -1,5 +1,5 @@ -import React from "react"; +import React, { useState } from "react"; import { useNavigate } from "react-router-dom"; import { Mail, InfoIcon, RefreshCw } from "lucide-react"; import { Button } from "@/components/ui/button";