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-core): initialize config state on data server start #678

Merged
merged 1 commit into from
Mar 12, 2019

Conversation

lettertwo
Copy link
Contributor

NOTE: This is a PR against the v1 branch

Description

In a project without docz config files (.doczrc, docz.config.js, etc), for example, in a gatsby app using gatsby-theme-docz with config only in gatsby-config.js, the config state is not initialized, which causes errors when the config state is read.

In a project with no docz config files, (for example,
in a gatsby app using gatsby-theme-docz with config only
in gatsby-config.js), the config state is not initialized,
which causes errors when the config state is read.
@pedronauck pedronauck merged commit 8c740b8 into doczjs:v1 Mar 12, 2019
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