diff --git a/src/components/ConfirmedRoute.tsx b/src/components/ConfirmedRoute.tsx index 05d6557a72e3..c01f7c6250f4 100644 --- a/src/components/ConfirmedRoute.tsx +++ b/src/components/ConfirmedRoute.tsx @@ -37,7 +37,7 @@ function ConfirmedRoute({mapboxAccessToken, transaction}: ConfirmedRouteProps) { const {isOffline} = useNetwork(); const {route0: route} = transaction.routes ?? {}; const waypoints = transaction.comment?.waypoints ?? {}; - const coordinates = route.geometry?.coordinates ?? []; + const coordinates = route?.geometry?.coordinates ?? []; const theme = useTheme(); const styles = useThemeStyles();