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

fix(docz-theme-default): toggle active links on location change #666

Conversation

lettertwo
Copy link
Contributor

@lettertwo lettertwo commented Mar 4, 2019

NOTE: This PR is against the v1 branch

Description

This fixes the Sidebar SmallLink active state not updating when router location changes.

@pedronauck pedronauck merged commit 1274b97 into doczjs:v1 Mar 12, 2019
@lettertwo lettertwo deleted the fix-v1-docz-theme-default-active-links-location-change branch March 12, 2019 20:16
pedronauck added a commit that referenced this pull request Mar 15, 2019
* 'v1' of github.com:pedronauck/docz:
  fix(docz-core): initialize config state on data server start (#678)
  fix(docz): add window check to useWindowSize hook (#669)
  fix(docz-theme-default): toggle active links on location change (#666)
  fix(gatsby-theme-docz): use options from gatsby-config (#665)
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.

2 participants