From 194ae40972c1b6ea5e188067d5b5a476be242db4 Mon Sep 17 00:00:00 2001 From: cha0s Date: Fri, 19 Jun 2020 22:02:24 -0500 Subject: [PATCH] chore: rendering tweaks --- src/client/components/traits.jsx | 26 ++++++++++--------- src/client/components/traits.raw.scss | 4 +++ .../types/actions.type-renderer.jsx | 2 +- src/client/components/types/object.raw.scss | 4 +++ .../components/types/object.type-renderer.jsx | 2 +- src/client/components/types/steps-lists.js | 16 +++++++++--- src/client/components/types/steps.raw.scss | 2 +- 7 files changed, 37 insertions(+), 19 deletions(-) diff --git a/src/client/components/traits.jsx b/src/client/components/traits.jsx index e77a6d3..cc7a6c0 100644 --- a/src/client/components/traits.jsx +++ b/src/client/components/traits.jsx @@ -70,23 +70,25 @@ const makeTabSelector = (context, type) => createSelector( Object.values(mapObject(description, (description, key) => { const {label, options, type: componentType} = description; const Component = TypeRenderers[componentType]; - return Component - ? ( -