Skip to content
This repository was archived by the owner on Aug 8, 2019. It is now read-only.

Feature clubs by location#25

Merged
liannivin merged 5 commits intodevelopfrom
feature-clubs-by-location
Jul 17, 2019
Merged

Feature clubs by location#25
liannivin merged 5 commits intodevelopfrom
feature-clubs-by-location

Conversation

@KattyaCuevas
Copy link
Copy Markdown
Member

@KattyaCuevas KattyaCuevas commented Jul 16, 2019

References #17

It uses Open Cage Data to transform adresses to coordinates.
It adds geolib to the pacakge json to calculate distances between coordinates.
It sorts all the clubs by their location.

@cristianbgp cristianbgp dismissed a stale review via 3e9fffd July 17, 2019 00:56
@cristianbgp cristianbgp force-pushed the feature-clubs-by-location branch from 397df7b to 3e9fffd Compare July 17, 2019 00:56
Comment thread client/src/views/home.js
<div css={styleSelectsContainer}>
<Select
onChange={handleChangeLocation}
defaultValue=""
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you assign a more significant name instead of defaultValue ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the default value for the select tag

@liannivin liannivin merged commit 34d5c18 into develop Jul 17, 2019
@cristianbgp cristianbgp deleted the feature-clubs-by-location branch July 17, 2019 15:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants