diff options
-rw-r--r-- | modern/src/other/ReplayPage.js | 2 |
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> |