feat: implement user settings page with profile and API key management components

This commit is contained in:
Anish Sarkar 2026-03-08 19:36:12 +05:30
parent 97fbb70672
commit 77dc6b7c91
10 changed files with 785 additions and 531 deletions

View file

@ -304,8 +304,8 @@ export function LayoutDataProvider({ searchSpaceId, children }: LayoutDataProvid
}, []);
const handleUserSettings = useCallback(() => {
router.push("/dashboard/user/settings");
}, [router]);
router.push(`/dashboard/${searchSpaceId}/user-settings`);
}, [router, searchSpaceId]);
const handleSearchSpaceSettings = useCallback(
(space: SearchSpace) => {