import { Show } from "solid-js"; import { Alert } from "@/components/ui/alert"; import { Button } from "@/components/ui/button"; import { useT } from "@/stores/preferences-context"; export function ErrorAlert(props: { message: string; onRetry?: () => void }) { const t = useT(); return ( {props.message} ); }