From 3efb9496055569eb986f80a224b5d4e2b2bc0b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Fri, 6 Mar 2026 09:24:08 -0300 Subject: [PATCH] fix: register setup-account route and correctly name component --- App.tsx | 2 ++ pages/SetupAccount.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/App.tsx b/App.tsx index f8ea42b..445d4a6 100644 --- a/App.tsx +++ b/App.tsx @@ -10,6 +10,7 @@ import { Teams } from './pages/Teams'; import { Login } from './pages/Login'; import { ForgotPassword } from './pages/ForgotPassword'; import { ResetPassword } from './pages/ResetPassword'; +import { SetupAccount } from './pages/SetupAccount'; import { UserProfile } from './pages/UserProfile'; import { getUserById, logout } from './services/dataService'; import { User } from './types'; @@ -71,6 +72,7 @@ const App: React.FC = () => { } /> } /> } /> + } /> } /> } /> } /> diff --git a/pages/SetupAccount.tsx b/pages/SetupAccount.tsx index 07d0fd9..8110bd9 100644 --- a/pages/SetupAccount.tsx +++ b/pages/SetupAccount.tsx @@ -3,7 +3,7 @@ import { useNavigate, useLocation, Link } from 'react-router-dom'; import { Hexagon, Lock, ArrowRight, Loader2, CheckCircle2, AlertCircle, User } from 'lucide-react'; import { resetPassword } from '../services/dataService'; -export const ResetPassword: React.FC = () => { +export const SetupAccount: React.FC = () => { const navigate = useNavigate(); const location = useLocation(); const query = new URLSearchParams(location.search);