mirror of
https://github.com/apache/superset.git
synced 2026-06-07 00:29:17 +00:00
fix Object.assign try to write to read-only option.style (#5860)
This commit is contained in:
committed by
Grace Guo
parent
01212c3755
commit
962eb0860c
@@ -35,7 +35,7 @@ export default function VirtualizedRendererWrap(renderer) {
|
||||
<div
|
||||
className={className.join(' ')}
|
||||
key={key}
|
||||
style={Object.assign(option.style || {}, style)}
|
||||
style={{ ...(option.style || {}), ...style }}
|
||||
title={option.title}
|
||||
{...events}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user