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`.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
import React from "react";
|
import React, { useState } from "react";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import { Mail, InfoIcon, RefreshCw } from "lucide-react";
|
import { Mail, InfoIcon, RefreshCw } from "lucide-react";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
|
|||||||
Reference in New Issue
Block a user