-
Notifications
You must be signed in to change notification settings - Fork 554
Add best feed type #9
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey mate great work except the real HN ui only displays the 'best' page in the header nav when it's on that page. Could you implement a property for the HeaderNav that displays an additional header item? If not I can build it on top of your change later
Sure, I'll try to add that! |
@clintonwoo I added the behavior with a conditional, is that alright? |
@@ -2,7 +2,7 @@ import React from 'react'; | |||
import Link from 'next/link'; | |||
import PropTypes from 'prop-types'; | |||
|
|||
const HeaderNav = props => ( | |||
const HeaderNav = props => (console.log(props.currentUrl), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mistakenly leave this line in? Looks good to me without this line
@clintonwoo Whoops. Removed the log. |
Thanks. Good work |
No description provided.