Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract featuredProjectTableTypes strings #20517

Merged
merged 3 commits into from
Feb 9, 2018

Conversation

Erin007
Copy link
Contributor

@Erin007 Erin007 commented Feb 9, 2018

By consolidating these table types into a constant, this code becomes more maintainable because we only need to add a new table type string in one place.

featuredProjectDataPropType,
featuredProjectTableTypes
}
from './projectConstants';
Copy link
Contributor

Choose a reason for hiding this comment

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

the tiniest nit: from ./projectConstants; should go on the line above, like you did in the other file.

@caleybrock
Copy link
Contributor

thank you! consistency across our code styles is a win 👍
changes look good, but circle failure might be related to this change, so get that passing before you merge.

@Erin007 Erin007 merged commit de85ca0 into staging Feb 9, 2018
@Erin007 Erin007 deleted the featured-projects-string-constants branch February 9, 2018 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants