Use regular link

Removing unnecessary dependencies on next specific components
This commit is contained in:
Manav Rathi 2024-04-05 14:02:21 +05:30
parent 7be2c66fb6
commit 356ad6f004
No known key found for this signature in database

View file

@ -1,11 +1,10 @@
import { ENTE_WEBSITE_LINK } from "@ente/shared/constants/urls";
import { Box } from "@mui/material";
import Link from "next/link";
import Ente from "../../components/icons/ente";
export function EnteLinkLogo() {
return (
<Link href={ENTE_WEBSITE_LINK}>
<a href={ENTE_WEBSITE_LINK}>
<Box
sx={(theme) => ({
":hover": {
@ -18,6 +17,6 @@ export function EnteLinkLogo() {
>
<Ente />
</Box>
</Link>
</a>
);
}