Skip to content

Commit 6ae5f08

Browse files
committed
fix: redirect to profile not settings page, URL fix
1 parent 3a587fe commit 6ae5f08

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/app/(main)/contacts/components/ContactFilters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export function ContactFilters({
119119
label="Account Settings"
120120
prefixIcon="settings"
121121
onClick={() => {
122-
window.location.href = "/settings";
122+
window.location.href = "/profile";
123123
}}
124124
/>
125125
<Button

src/app/(main)/inbox/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,10 +572,10 @@ function InboxPage() {
572572
const handleErrorAction = useCallback(() => {
573573
if (errorType === "no_gmail_account") {
574574
// Redirect to settings page to connect Gmail account
575-
router.push("/settings?tab=accounts");
575+
router.push("/profile?tab=accounts");
576576
} else if (errorType === "invalid_credentials") {
577577
// Redirect to settings page to reconnect Gmail account
578-
router.push("/settings?tab=accounts");
578+
router.push("/profile?tab=accounts");
579579
} else if (errorType === "no_emails_synced") {
580580
// Trigger initial sync
581581
performInitialSync();

src/app/robots.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export default function robots(): MetadataRoute.Robots {
88
allow: [
99
"/",
1010
// '/inbox',
11-
"/settings",
1211
"/privacy",
1312
"/terms",
1413
"/features",

0 commit comments

Comments
 (0)