import { faCircleExclamation } from "@fortawesome/free-solid-svg-icons"; import { useTranslation } from "next-i18next"; import { FestaIcon } from "./FestaIcon"; type ErrorBlockProps = { error: JSON, text?: string } export function ErrorBlock(props: ErrorBlockProps) { const {t} = useTranslation() return (
{JSON.stringify(props.error, undefined, 4)}