Use regular link
Removing unnecessary dependencies on next specific components
This commit is contained in:
parent
7be2c66fb6
commit
356ad6f004
1 changed files with 2 additions and 3 deletions
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue