refactor: some renaming and corrections

This commit is contained in:
Riccardo
2023-12-19 19:21:45 +01:00
parent c639f55067
commit 146ea54d71
18 changed files with 169 additions and 7545 deletions

View File

@@ -1,4 +1,3 @@
import NextLink from 'next/link';
import { Button } from '../ui/button';
type LinkProps = {
@@ -9,7 +8,7 @@ type LinkProps = {
export function Link({ path, text }: LinkProps) {
return (
<Button asChild>
<NextLink href={path}>{text}</NextLink>
<a href={path}>{text}</a>
</Button>
);
}