diff --git a/client/components/Link.tsx b/client/components/Link.tsx index 749faaa6..836df881 100644 --- a/client/components/Link.tsx +++ b/client/components/Link.tsx @@ -3,8 +3,8 @@ import { useRouter } from "next/router"; const Link = (props: LinkProps) => { const { basePath } = useRouter(); - - return + const href = basePath ? `/${basePath}/${props.href}` : props.href; + return } export default Link \ No newline at end of file