Fix dataset card not responding to click events (#9574)

### What problem does this PR solve?

Fix home card not responding to click events

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
This commit is contained in:
TeslaZY
2025-08-20 10:06:14 +08:00
committed by GitHub
parent e6cb74b27f
commit 7d3bb3a2f9
8 changed files with 9 additions and 17 deletions

View File

@ -77,7 +77,7 @@ export const useNavigatePage = () => {
}, [navigate]);
const navigateToSearch = useCallback(
(id: string) => {
(id: string) => () => {
navigate(`${Routes.Search}/${id}`);
},
[navigate],