diff --git a/src/Themes.tsx b/src/Themes.tsx index 0b5ce99..1dd4f2b 100644 --- a/src/Themes.tsx +++ b/src/Themes.tsx @@ -63,7 +63,7 @@ export const Themes = compose( }, }), branch( - ({theme, active}) => !theme || !active, + ({active}) => !active, renderNothing, ), )(BaseComponent); diff --git a/src/__tests__/__snapshots__/Themes.spec.tsx.snap b/src/__tests__/__snapshots__/Themes.spec.tsx.snap index d64ccfa..e960235 100644 --- a/src/__tests__/__snapshots__/Themes.spec.tsx.snap +++ b/src/__tests__/__snapshots__/Themes.spec.tsx.snap @@ -1,3 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Themes spec should render proper 1`] = `null`; +exports[`Themes spec should render proper 1`] = ` +
+`;