Skip to content

Commit 2e1481b

Browse files
committed
Remove unnecessary variable assignment
1 parent 8032614 commit 2e1481b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/QuestionTypes/UrlType.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
validate() {
3131
if (this.hasValue) {
3232
try {
33-
var url = new URL(this.fixAnswer(this.dataValue))
33+
new URL(this.fixAnswer(this.dataValue))
3434
3535
return true
3636
} catch(_) {

0 commit comments

Comments
 (0)