diff --git a/frontend/src/pages/Activate.tsx b/frontend/src/pages/Activate.tsx index 507a128..d81d9ae 100644 --- a/frontend/src/pages/Activate.tsx +++ b/frontend/src/pages/Activate.tsx @@ -68,7 +68,10 @@ export default function Activate() { type="button" className="btn btn-primary w-full shadow-lg" onClick={() => - navigate(ROUTES.LOGIN, { state: { firstTime: true } }) + navigate(ROUTES.LOGIN, { + state: { firstTime: true }, + replace: true, + }) } > Start Writing diff --git a/frontend/src/pages/Drawer.tsx b/frontend/src/pages/Drawer.tsx index 521a1a4..5bfbf3d 100644 --- a/frontend/src/pages/Drawer.tsx +++ b/frontend/src/pages/Drawer.tsx @@ -187,7 +187,7 @@ export default function Drawer() {