diff --git a/.changeset/soft-jars-wait.md b/.changeset/soft-jars-wait.md new file mode 100644 index 0000000000..7c4edd22b8 --- /dev/null +++ b/.changeset/soft-jars-wait.md @@ -0,0 +1,5 @@ +--- +"create-fuels": patch +--- + +feat: utilize the Next.js `Link` component diff --git a/templates/nextjs/src/components/Link.tsx b/templates/nextjs/src/components/Link.tsx index 6272514b79..cd6f72aac5 100644 --- a/templates/nextjs/src/components/Link.tsx +++ b/templates/nextjs/src/components/Link.tsx @@ -1,3 +1,5 @@ +import NextLink from "next/link"; + export const Link = ({ href, children, @@ -10,12 +12,12 @@ export const Link = ({ target?: string; }) => { return ( - {children} - + ); };