From 6ece2838bd9bf835c4da3a218252946e44bfd25f Mon Sep 17 00:00:00 2001 From: ysKim Date: Wed, 5 Dec 2018 22:45:03 +0900 Subject: [PATCH] Remove duplicate code --- src/diagrams/flowchart/flowDb.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/diagrams/flowchart/flowDb.js b/src/diagrams/flowchart/flowDb.js index 275e9c39df..52327cc143 100644 --- a/src/diagrams/flowchart/flowDb.js +++ b/src/diagrams/flowchart/flowDb.js @@ -45,9 +45,6 @@ export const addVertex = function (id, text, type, style) { if (typeof type !== 'undefined') { vertices[id].type = type } - if (typeof type !== 'undefined') { - vertices[id].type = type - } if (typeof style !== 'undefined') { if (style !== null) { style.forEach(function (s) {