removed router push from portfolio settings as redirect handled by middleware

This commit is contained in:
Khalim Conn-Kowlessar 2026-01-28 18:47:30 +00:00
parent bb30444316
commit e5f40d2e0b

View file

@ -275,7 +275,6 @@ export default function PortfolioSettings({
if (!session.data) {
// The user is not logged in, redirect them to sign in
router.push("/");
return null;
}