From 6c8968247a5a1d22e5f43f9891a681f1f081952b Mon Sep 17 00:00:00 2001 From: Mutasem Date: Mon, 15 Nov 2021 14:49:49 +0100 Subject: [PATCH] make const --- packages/editor-ui/src/plugins/N8nFlowchartType.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/plugins/N8nFlowchartType.js b/packages/editor-ui/src/plugins/N8nFlowchartType.js index bd85cc64c8..e38085c7f8 100644 --- a/packages/editor-ui/src/plugins/N8nFlowchartType.js +++ b/packages/editor-ui/src/plugins/N8nFlowchartType.js @@ -49,7 +49,7 @@ Class: UIComponent Superclass for Connector and AbstractEndpoint. */ - var AbstractComponent = function () { + const AbstractComponent = function () { this.resetBounds = function () { this.bounds = { minX: Infinity, minY: Infinity, maxX: -Infinity, maxY: -Infinity }; };