added key index to social links + fixed error page function name
continuous-integration/drone/push Build is failing Details

pull/1/head
Guus van Meerveld 2 months ago
parent ca9737ff0d
commit 3dd44872f2

@ -52,8 +52,8 @@ export const Header: Component<{ owner: Owner }> = ({ owner }) => {
<Spacer y={4} />
{socials.map((social) => (
<Link href={social.link}>
<Tooltip content={social.name}>
<Link href={social.link} key={social.name.toLowerCase()}>
<Tooltip showArrow content={social.name}>
<Button
className="text-2xl mr-4"
color="primary"

@ -5,7 +5,7 @@ import { ErrorPage } from "@typings/errorPage";
import { useEffect } from "react";
const errorPage: ErrorPage = ({ error, reset }) => {
const MainErrorPage: ErrorPage = ({ error, reset }) => {
useEffect(() => {
console.error(error);
}, [error]);
@ -23,4 +23,4 @@ const errorPage: ErrorPage = ({ error, reset }) => {
);
};
export default errorPage;
export default MainErrorPage;

Loading…
Cancel
Save