File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,12 @@ export class JsonSchemaForm extends Component {
53
53
// In the json schema rendering code, we optimistically query our system for a number of components.
54
54
// If the component doesn't exist, we optionally suppress these warnings.
55
55
let getComponentSilently = ( name ) => getComponent ( name , false , { failSilently : true } )
56
- let Comp = ( format ? getComponentSilently ( `JsonSchema_${ type } _${ format } ` ) : getComponentSilently ( `JsonSchema_${ type } ` ) ) || getComponentSilently ( "JsonSchema_string" )
56
+
57
+ let Comp = ( format ?
58
+ getComponentSilently ( `JsonSchema_${ type } _${ format } ` ) :
59
+ getComponentSilently ( `JsonSchema_${ type } ` ) ) ||
60
+ getComponentSilently ( "JsonSchema_string" )
61
+
57
62
return < Comp { ...this . props } errors = { errors } fn = { fn } getComponent = { getComponent } value = { value } onChange = { onChange } schema = { schema } disabled = { disabled } />
58
63
}
59
64
You can’t perform that action at this time.
0 commit comments