Feat: Add Sessions component #3221 (#4865)

### What problem does this PR solve?

Feat: Add Sessions component #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-02-11 13:11:15 +08:00
committed by GitHub
parent 0d3ed37b48
commit f34b913bd8
11 changed files with 130 additions and 9 deletions

View File

@ -21,10 +21,20 @@ export const useNavigatePage = () => {
navigate(Routes.ProfileSetting);
}, [navigate]);
const navigateToChatList = useCallback(() => {
navigate(Routes.Chats);
}, [navigate]);
const navigateToChat = useCallback(() => {
navigate(Routes.Chat);
}, [navigate]);
return {
navigateToDatasetList,
navigateToDataset,
navigateToHome,
navigateToProfile,
navigateToChatList,
navigateToChat,
};
};