Remove duplicate code

This commit is contained in:
ysKim 2018-12-05 22:45:03 +09:00
parent a4992963b3
commit 6ece2838bd
1 changed files with 0 additions and 3 deletions

View File

@ -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) {