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

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