mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 09:16:22 +02:00
feat: enhance user settings page with tab navigation and default tab handling, update ProfileContent to use Next.js Image component, and improve sidebar user profile dropdown functionality
This commit is contained in:
parent
0b028bab49
commit
f08ca26e3e
4 changed files with 44 additions and 24 deletions
|
|
@ -304,7 +304,7 @@ export function LayoutDataProvider({ searchSpaceId, children }: LayoutDataProvid
|
|||
}, []);
|
||||
|
||||
const handleUserSettings = useCallback(() => {
|
||||
router.push(`/dashboard/${searchSpaceId}/user-settings`);
|
||||
router.push(`/dashboard/${searchSpaceId}/user-settings?tab=profile`);
|
||||
}, [router, searchSpaceId]);
|
||||
|
||||
const handleSearchSpaceSettings = useCallback(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue