refactor: error page sends email

This commit is contained in:
Carlos Valente
2025-10-05 20:29:47 +02:00
committed by Alex Christoffer Rasmussen
parent 27243c4432
commit 25030debe4
4 changed files with 20 additions and 27 deletions
@@ -12,9 +12,7 @@ interface ExternalLinkProps {
inline?: boolean;
}
export default function ExternalLink(props: ExternalLinkProps) {
const { href, inline, children } = props;
export default function ExternalLink({ href, inline, children }: ExternalLinkProps) {
const handleClick = (event: MouseEvent) => {
event.preventDefault();
openLink(href);