mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
Enhance navigation and tab management with hash support in resource details page
This commit is contained in:
@@ -117,7 +117,7 @@ function ActivityCard({ activity }: { activity: Activity }) {
|
||||
) {
|
||||
navigate(`/resources/${activity.resource?.id}`);
|
||||
} else if (activity.type === ActivityType.ResourceCommented) {
|
||||
navigate(`/resources/${activity.comment?.resource.id}`);
|
||||
navigate(`/resources/${activity.comment?.resource.id}#comments`);
|
||||
}
|
||||
}}
|
||||
>
|
||||
|
Reference in New Issue
Block a user