diff --git a/core/docz/src/hooks/useComponents.tsx b/core/docz/src/hooks/useComponents.tsx index 540445d21..3d7fbf016 100644 --- a/core/docz/src/hooks/useComponents.tsx +++ b/core/docz/src/hooks/useComponents.tsx @@ -46,7 +46,7 @@ export interface ComponentsProviderProps { components: ComponentsMap } -const ctx = createContext({}) +const ctx = createContext(defaultComponents) export const ComponentsProvider: SFC = ({ components: themeComponents = {}, children,