Skip to content

Commit

Permalink
switch last few Router Links to to property from href
Browse files Browse the repository at this point in the history
  • Loading branch information
Da-Colon committed Mar 12, 2024
1 parent 30916d4 commit 8935596
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ui/cards/DAOInfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function DAOInfoCard({
<Link
as={RouterLink}
pointerEvents={isCurrentDAO ? 'none' : undefined}
href={DAO_ROUTES.dao.relative(displayedAddress)}
to={DAO_ROUTES.dao.relative(displayedAddress)}
_hover={{ textDecoration: 'none' }}
onClick={() => {
// if we're not on the current DAO, reset
Expand All @@ -104,7 +104,7 @@ export function DAOInfoCard({
/>
{childCount && childCount > 0 && (
<Link
href={DAO_ROUTES.hierarchy.relative(displayedAddress)}
to={DAO_ROUTES.hierarchy.relative(displayedAddress)}
as={RouterLink}
>
<Box
Expand Down

0 comments on commit 8935596

Please sign in to comment.