We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c050b1d commit 6a3d3caCopy full SHA for 6a3d3ca
src/JsonEditor.tsx
@@ -321,7 +321,7 @@ const Editor: React.FC<JsonEditorProps> = ({
321
mainContainerStyles.fontSize = rootFontSize ?? mainContainerStyles.fontSize
322
323
return (
324
- <div id={id} className={'jer-editor-container ' + className} style={mainContainerStyles}>
+ <div id={id} className={`jer-editor-container ${className ?? ''}`} style={mainContainerStyles}>
325
{isCollection(data) ? (
326
<CollectionNode data={data} {...otherProps} />
327
) : (
0 commit comments