Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

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 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.

2 participants