mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
removed router push from portfolio settings as redirect handled by middleware
This commit is contained in:
parent
bb30444316
commit
e5f40d2e0b
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue