Starting Point
Destination
{errorSelect.flag && {errorSelect.message}
}
{shortestPath && (
Shortest path from {startingPoint.name} to{' '}
{destination.name} ({shortestPath.distance}
km)
{shortestPath.path.map((city) => (
{city.name}
))}
)}
{graph.nodes.length > 0 && (