Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
znxkznxk1030 committed Dec 5, 2018
1 parent a499296 commit 6ece283
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/diagrams/flowchart/flowDb.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6ece283

Please sign in to comment.