import { Button, TransitionDialogue } from "~/components"; import { showErrorDialog, errorDialogMessage, errorDialogTitle, } from "~/pages/PageEnigma/store"; import { useSignals } from "@preact/signals-react/runtime"; import { faTriangleExclamation } from "@fortawesome/pro-solid-svg-icons"; export function ErrorDialog() { useSignals(); return ( (showErrorDialog.value = false)} showClose={false}>
{errorDialogMessage.value}
); }