Skip to content

Commit

Permalink
fix: realm search object in url bug (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
agherasie committed Jul 17, 2024
1 parent 762bd73 commit ab876b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ui/search-result/search-result.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const RealmsList = ({item, isMain, searchTitle, onClick}: SearchResultProps) =>
const {getUrlWithNetwork} = useNetwork();

return (
<Link href={getUrlWithNetwork(`/realms/details?path=${item}`)} passHref>
<Link href={getUrlWithNetwork(`/realms/details?path=${item.packagePath}`)} passHref>
<FitContentA onClick={() => onClick(searchTitle, item)}>
<Text type={isMain ? 'p4' : 'body1'} color="primary" className="ellipsis">
{item.packagePath}
Expand Down

0 comments on commit ab876b6

Please sign in to comment.