import { A, Title } from "solid-start"; import { ExternalLink } from "~/components"; import { Button, DefaultMain, LargeHeader, NiceP, SafeArea, SmallHeader } from "~/components/layout"; import { useI18n } from "~/i18n/context"; export function SimpleErrorDisplay(props: { error: Error }) { return (
{props.error.name}:{" "} {props.error.message}
); } export function ErrorDisplay(props: { error: Error }) { const i18n = useI18n(); return (