diff --git a/src/client/components/types/value.type-renderer.jsx b/src/client/components/types/value.type-renderer.jsx index 0a4231a..c5e0176 100644 --- a/src/client/components/types/value.type-renderer.jsx +++ b/src/client/components/types/value.type-renderer.jsx @@ -55,23 +55,10 @@ const renderValue = (context, type, value) => { { (() => { - const Component = TypeRenderers[type]; + const Component = TypeRenderers['any' === type ? 'string' : type]; return Component ? : null; - // switch (type) { - // case 'bool': - // return ; - // case 'number': - // return ; - // case 'any': - // case 'string': - // return ; - // case 'object': - // return ; - // default: - // return null; - // } })() }