Skip to content

Commit

Permalink
fix(docz): initialize components context with defaultComponents
Browse files Browse the repository at this point in the history
  • Loading branch information
rakannimer committed Aug 29, 2019
1 parent f6b5ffa commit a808795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/docz/src/hooks/useComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export interface ComponentsProviderProps {
components: ComponentsMap
}

const ctx = createContext<ComponentsMap>({})
const ctx = createContext<ComponentsMap>(defaultComponents)
export const ComponentsProvider: SFC<ComponentsProviderProps> = ({
components: themeComponents = {},
children,
Expand Down

0 comments on commit a808795

Please sign in to comment.