aboutsummaryrefslogtreecommitdiff
path: root/modern/src/other/ReplayPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/other/ReplayPage.js')
-rw-r--r--modern/src/other/ReplayPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/other/ReplayPage.js b/modern/src/other/ReplayPage.js
index fb83d5a9..67e44105 100644
--- a/modern/src/other/ReplayPage.js
+++ b/modern/src/other/ReplayPage.js
@@ -165,7 +165,7 @@ const ReplayPage = () => {
{index < positions.length && (
<MapPositions
positions={[positions[index]]}
- onClick={() => setShowCard(true)}
+ onClick={(positionId) => setShowCard(!!positionId)}
/>
)}
</MapView>