Error: use a close button instead of go to home when in widget mode

This commit is contained in:
Valere
2025-03-07 10:12:23 +01:00
parent 612ace137a
commit b0a4a954f8
11 changed files with 276 additions and 23 deletions

View File

@@ -31,7 +31,11 @@ const OpenElsewhere: FC = () => {
const { t } = useTranslation();
return (
<ErrorView Icon={PopOutIcon} title={t("error.open_elsewhere")}>
<ErrorView
widget={null}
Icon={PopOutIcon}
title={t("error.open_elsewhere")}
>
<p>
{t("error.open_elsewhere_description", {
brand: import.meta.env.VITE_PRODUCT_NAME || "Element Call",