diff --git a/src/components/Location/Location.tsx b/src/components/Location/Location.tsx index 035a949..09cad58 100644 --- a/src/components/Location/Location.tsx +++ b/src/components/Location/Location.tsx @@ -42,33 +42,36 @@ export default function Location() { return (
- {!isPending && location?.now?.city ? ( + {!isPending ? ( - - {location.now.city} Now -
- {location?.next?.city && ( - <> - {isDifferentCountry && ( - - )} - {location.next.city}{' '} - - {relativeTime.from(new Date(location.next.date_start))} - - - )} -
+ {location?.now?.city ? ( + <> + + {location.now.city} Now + + ) : null} + + {location?.next?.city && ( +
+ {isDifferentCountry && ( + + )} + {location.next.city}{' '} + + {relativeTime.from(new Date(location.next.date_start))} + +
+ )}
) : null}