Skip to content

Commit 6a3d3ca

Browse files
committed
Update JsonEditor.tsx
1 parent c050b1d commit 6a3d3ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ const Editor: React.FC<JsonEditorProps> = ({
321321
mainContainerStyles.fontSize = rootFontSize ?? mainContainerStyles.fontSize
322322

323323
return (
324-
<div id={id} className={'jer-editor-container ' + className} style={mainContainerStyles}>
324+
<div id={id} className={`jer-editor-container ${className ?? ''}`} style={mainContainerStyles}>
325325
{isCollection(data) ? (
326326
<CollectionNode data={data} {...otherProps} />
327327
) : (

0 commit comments

Comments
 (0)