Skip to content

Commit

Permalink
perf: change href property value to url
Browse files Browse the repository at this point in the history
  • Loading branch information
moonbamijam committed Mar 12, 2024
1 parent a846442 commit 80bc361
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions components/buttons/BackBtn.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import Link from "next/link";
import { Url } from "next/dist/shared/lib/router/router";
import { FaBackwardStep } from "react-icons/fa6";
import Link from "next/link";

type Props = {
href: string;
href: Url;
extraClass?: string;
};

Expand Down
5 changes: 3 additions & 2 deletions components/footer/SocMedIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import Link from "next/link";
import { Url } from "next/dist/shared/lib/router/router";
import { ReactNode } from "react";
import Link from "next/link";

type Props = {
href: string;
href: Url;
ariaLabel: string
icon: ReactNode;
};
Expand Down

0 comments on commit 80bc361

Please sign in to comment.