Skip to content

Commit

Permalink
revert AnchorLink
Browse files Browse the repository at this point in the history
  • Loading branch information
carkom committed Jan 18, 2024
1 parent bc62517 commit a2d91cd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/desktop-client/src/components/common/AnchorLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,19 @@ type AnchorLinkProps = {
style?: CSSProperties;
activeStyle?: CSSProperties;
children?: ReactNode;
report?: [];
};

export function AnchorLink({
to,
style,
activeStyle,
children,
report,
}: AnchorLinkProps) {
const match = useMatch({ path: to });

return (
<NavLink
to={to}
state={report ? { report } : {}}
className={`${css([
styles.smallText,
style,
Expand Down

0 comments on commit a2d91cd

Please sign in to comment.