chore(warnings): only print for node_env=development
This commit is contained in:
@@ -141,6 +141,7 @@ export function createPositionChange({
|
||||
]
|
||||
: currentExtent;
|
||||
} else {
|
||||
// @ts-ignore
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
console.warn(
|
||||
'[React Flow]: Only child nodes can use a parent extent. Help: https://reactflow.dev/error-decoder#500'
|
||||
|
||||
Reference in New Issue
Block a user