Skip to content

Commit bc41857

Browse files
tariknzCopilot
andauthored
Update src/frontend/components/TrackMap/TrackCanvas.tsx
Co-authored-by: Copilot <[email protected]>
1 parent 41b0d22 commit bc41857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontend/components/TrackMap/TrackCanvas.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export const TrackCanvas = ({ trackId, drivers }: TrackProps) => {
270270
}
271271

272272
// Hide broken tracks in production
273-
if (!shouldShow) return <></>
273+
if (!shouldShow) return null;
274274

275275
return (
276276
<div className="overflow-hidden w-full h-full">

0 commit comments

Comments
 (0)