diff --git a/src/components/Header/index.jsx b/src/components/Header/index.jsx
index b3d3a33752a..c5017425e25 100644
--- a/src/components/Header/index.jsx
+++ b/src/components/Header/index.jsx
@@ -6,7 +6,7 @@ const Header = () => {
const { logo, siteUrl, navLinks } = useSiteMetadata();
return (
-
+ <>
-
+ >
);
};
diff --git a/src/components/Layout/index.jsx b/src/components/Layout/index.jsx
index 434998d2c51..345a1e94ab5 100644
--- a/src/components/Layout/index.jsx
+++ b/src/components/Layout/index.jsx
@@ -10,7 +10,7 @@ const Layout = ({ children }) => {
const { siteTitle, description } = useSiteMetadata();
return (
-
+ <>
{siteTitle}
@@ -22,8 +22,8 @@ const Layout = ({ children }) => {
/>
-
{children}
-
+ {children}
+ >
);
};
diff --git a/src/components/LocationStat/index.jsx b/src/components/LocationStat/index.jsx
index f98ed9b297f..54b4501ecb5 100644
--- a/src/components/LocationStat/index.jsx
+++ b/src/components/LocationStat/index.jsx
@@ -9,7 +9,7 @@ import LocationSummary from './LocationSummary';
import PeriodStat from './PeriodStat';
const LocationStat = ({ changeYear, changeCity, changeTitle }) => (
-
+
{CHINESE_LOCATION_INFO_MESSAGE_FIRST}
diff --git a/src/components/RunMap/RunMaker.jsx b/src/components/RunMap/RunMaker.jsx
index 6398ad81a01..86b024537f2 100644
--- a/src/components/RunMap/RunMaker.jsx
+++ b/src/components/RunMap/RunMaker.jsx
@@ -7,7 +7,7 @@ import styles from './style.module.scss';
const RunMarker = ({ startLon, startLat, endLon, endLat }) => {
const size = 20;
return (
-
+ >
);
};
diff --git a/src/components/RunMap/RunMapButtons.jsx b/src/components/RunMap/RunMapButtons.jsx
index c5f06f2f544..279c4ed2a84 100644
--- a/src/components/RunMap/RunMapButtons.jsx
+++ b/src/components/RunMap/RunMapButtons.jsx
@@ -8,21 +8,19 @@ const RunMapButtons = ({ changeYear, thisYear }) => {
yearsButtons.push('Total');
return (
-
-
- {yearsButtons.map((year) => (
- - {
- changeYear(year);
- }}
- >
- {year}
-
- ))}
-
-
+
+ {yearsButtons.map((year) => (
+ - {
+ changeYear(year);
+ }}
+ >
+ {year}
+
+ ))}
+
);
};
diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index 7f3161c72d1..ce9568dd299 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -142,42 +142,40 @@ const Index = () => {
return (
-
-
-
- {viewport.zoom <= 3 && IS_CHINESE ? (
-
- ) : (
-
- )}
-
-
-
+
+ {viewport.zoom <= 3 && IS_CHINESE ? (
+
- {year === 'Total' ? (
-
- ) : (
-
- )}
-
+ ) : (
+
+ )}
+
+
+
+ {year === 'Total' ? (
+
+ ) : (
+
+ )}
{/* Enable Audiences in Vercel Analytics: https://vercel.com/docs/concepts/analytics/audiences/quickstart */}