mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-20 05:12:54 +08:00
fix customnode type
This commit is contained in:
parent
765a0f0486
commit
d45a5a06df
@ -57,7 +57,7 @@ const CustomNode = ({ nodeProps }) => {
|
||||
port={<Port style={basePortStyle} rx={10} ry={10} />}
|
||||
{...nodeProps}
|
||||
>
|
||||
{(nodeProps: NodeChildProps) => {
|
||||
{(nodeProps: NodeProps) => {
|
||||
const { width, height } = nodeProps;
|
||||
|
||||
if (data.text instanceof Object) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user