diff --git a/assets/src/components/detours/diversionPage.tsx b/assets/src/components/detours/diversionPage.tsx index 8ff249060..058e7769e 100644 --- a/assets/src/components/detours/diversionPage.tsx +++ b/assets/src/components/detours/diversionPage.tsx @@ -344,7 +344,8 @@ export const DiversionPage = ({ directions={ editedDirections ? parseIntoDirectionsList(editedDirections) - : extendedDirections + : // Include fallback if editedDirections was not initialized on an older detour + extendedDirections } connectionPoints={[ connectionPoints?.start?.name ?? "N/A", @@ -389,7 +390,8 @@ export const DiversionPage = ({ directions={ editedDirections ? parseIntoDirectionsList(editedDirections) - : extendedDirections + : // Include fallback if editedDirections was not initialized on an older detour + extendedDirections } connectionPoints={[ connectionPoints?.start?.name ?? "N/A",