diff --git a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
index 9c39ae3f87..9f3c87ca7b 100644
--- a/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
+++ b/web/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
@@ -403,7 +403,7 @@ const confirmDisableMapsDialogAttributes = (
): MiniDialogAttributes => ({
title: t("DISABLE_MAPS"),
message: ,
- continue: { text: t("disable"), action: onConfirm },
+ continue: { text: t("disable"), color: "critical", action: onConfirm },
});
const FileInfoSidebar = styled((props: DialogProps) => (
diff --git a/web/apps/photos/src/pages/_app.tsx b/web/apps/photos/src/pages/_app.tsx
index 3fec77edc3..17ff25cc40 100644
--- a/web/apps/photos/src/pages/_app.tsx
+++ b/web/apps/photos/src/pages/_app.tsx
@@ -213,6 +213,7 @@ export default function App({ Component, pageProps }: AppProps) {
setLocalMapEnabled(enabled);
setMapEnabled(enabled);
} catch (e) {
+ // TODO: Handle the error here.
log.error("Error while updating mapEnabled", e);
}
};
diff --git a/web/packages/base/components/utils/mini-dialog.tsx b/web/packages/base/components/utils/mini-dialog.tsx
index 088e8511f2..5118e52a62 100644
--- a/web/packages/base/components/utils/mini-dialog.tsx
+++ b/web/packages/base/components/utils/mini-dialog.tsx
@@ -55,6 +55,7 @@ export const errorDialogAttributes = (
icon: ,
message,
continue: { color: "critical" },
+ cancel: false,
};
};