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

Update NavBarContainer.js #34

Merged
merged 3 commits into from
Nov 17, 2015

Conversation

davidLeonardi
Copy link

Added support for hiding navbar per route
Style improvements

Added support for hiding navbar per route
Style improvements
@MikaelCarpenter
Copy link
Owner

is the extra indentation on the if statements on purpose?

@davidLeonardi
Copy link
Author

Nope. let me fix that.

@davidLeonardi
Copy link
Author

I wish atom had a better way of switching indentation methods per file. Currently it's global, and i use tabs. I try to remedy all these misindentations manually, but this slipped through. sry :(

if (this.props.currentRoute.trans) {
trans = {backgroundColor: 'transparent'};
}
else {

Choose a reason for hiding this comment

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

This should probably be consistent with the One True Brace in the rest of the code.

Copy link
Author

Choose a reason for hiding this comment

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

indeed.

@davidLeonardi
Copy link
Author

Mikael, this has been fixed. Let me know if something else pops up.

MikaelCarpenter added a commit that referenced this pull request Nov 17, 2015
Update NavBarContainer.js
@MikaelCarpenter MikaelCarpenter merged commit dbf6e03 into MikaelCarpenter:master Nov 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants