Skip to content

Commit

Permalink
Merge pull request #768 from znxkznxk1030/master
Browse files Browse the repository at this point in the history
Remove duplicate code
  • Loading branch information
tylerlong authored Dec 17, 2018
2 parents 349aeb5 + 6ece283 commit b097b8b
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 b097b8b

Please sign in to comment.