From 95169873250207461c56cde7490939aeb22004cf Mon Sep 17 00:00:00 2001 From: James Ives Date: Thu, 4 Jul 2019 17:13:12 -0400 Subject: [PATCH] Weird formatting --- functions/src/util/bus.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/src/util/bus.ts b/functions/src/util/bus.ts index 4104ffb..0b320b0 100644 --- a/functions/src/util/bus.ts +++ b/functions/src/util/bus.ts @@ -33,8 +33,8 @@ export function getRelevantBusIncidents( export function createNearbyStopList(stops: Array): any { return stops.reduce((obj, item: any) => { obj[item.StopID] = {}; - (obj[item.StopID].synonyms = `Stop ${item.StopID}`), - (obj[item.StopID].title = `Stop ${item.StopID}: ${item.Name}`); + obj[item.StopID].synonyms = `Stop ${item.StopID}`; + obj[item.StopID].title = `Stop ${item.StopID}: ${item.Name}`; obj[item.StopID].description = `Routes: ${item.Routes.join(', ')}`; obj[item.StopID].image = new Image({ url: