Skip to content

armgit / ente

Public Imported from GitHub
0

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

Tweak

Manav Rathib7dda8c3b6c7
diff --git a/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx b/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx
index 8d1d7d67f3..13d775021d 100644
--- a/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx
+++ b/web/apps/photos/src/components/PhotoViewer/FileInfo/MapBox.tsx
@@ -2,9 +2,9 @@ import { haveWindow } from "@/base/env";
import { type Location } from "@/base/types";
import { Button, styled, type ButtonProps } from "@mui/material";
import { type CSSProperties } from "@mui/material/styles/createTypography";
+import { t } from "i18next";
import { useEffect, useRef } from "react";
-import { t } from "i18next";
import "leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.webpack.css"; // Re-uses images from ~leaflet package
import "leaflet/dist/leaflet.css";
haveWindow() && require("leaflet-defaulticon-compatibility");
@@ -70,7 +70,6 @@ const MapBox: React.FC<MapBoxProps> = ({
) : (
<MapBoxEnableContainer>
<MapButton onClick={openUpdateMapConfirmationDialog}>
- {" "}
{t("enable_map")}
</MapButton>
</MapBoxEnableContainer>