Skip to content

Commit

Permalink
chore(docz): some refacs
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Jun 1, 2018
1 parent d36194d commit 05c4639
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/docz/src/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,8 @@ export function theme(
imports,
config = {},
}) => {
const value = {
entries,
imports,
config: merge(defaultConfig, config),
}
const newConfig = merge(defaultConfig, config)
const value = { entries, imports, config: newConfig }

return (
<dataContext.Provider value={value}>
Expand Down

0 comments on commit 05c4639

Please sign in to comment.