Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add icon to error

Manav Rathi0e46287eeebd
diff --git a/web/apps/photos/src/pages/_app.tsx b/web/apps/photos/src/pages/_app.tsx
index e39ba3562c..c0047b83eb 100644
--- a/web/apps/photos/src/pages/_app.tsx
+++ b/web/apps/photos/src/pages/_app.tsx
@@ -5,6 +5,7 @@ import { AttributedMiniDialog } from "@/base/components/MiniDialog";
import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator";
import { AppNavbar } from "@/base/components/Navbar";
import { setupI18n } from "@/base/i18n";
+import ErrorOutline from "@mui/icons-material/ErrorOutline";
import log from "@/base/log";
import {
logStartupBanner,
@@ -258,6 +259,7 @@ export default function App({ Component, pageProps }: AppProps) {
log.error("Error", e),
setDialogBoxAttributesV2({
title: t("error"),
+ icon: <ErrorOutline />,
content: t("generic_error"),
close: { variant: "critical" },
})