From 3b35f7819e4a932cb3004b682f5a432d2bf3338b Mon Sep 17 00:00:00 2001 From: shift Date: Mon, 26 Feb 2018 14:27:57 +0200 Subject: [PATCH] fix(docs): fix return agrument in ComponentPropsComponents --- .../ComponentDoc/ComponentProps/ComponentPropsComponents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/app/Components/ComponentDoc/ComponentProps/ComponentPropsComponents.js b/docs/app/Components/ComponentDoc/ComponentProps/ComponentPropsComponents.js index c17d0ce3c8..b9cb43e9f0 100644 --- a/docs/app/Components/ComponentDoc/ComponentProps/ComponentPropsComponents.js +++ b/docs/app/Components/ComponentDoc/ComponentProps/ComponentPropsComponents.js @@ -7,7 +7,7 @@ import { updateForKeys } from 'docs/app/HOC' import ComponentPropsComponent from './ComponentPropsComponent' const ComponentPropsComponents = ({ activeName, components, onItemClick, parent }) => { - if (components.length === 1) return + if (components.length === 1) return null return (