Skip to content

Commit 472fe15

Browse files
author
Niels Bosman
committed
Fix arrow function this does not exist bug
1 parent 06305b6 commit 472fe15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/VueToggle.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default {
2929
},
3030
3131
methods: {
32-
toggle: () => this.toggled = !this.toggled,
32+
toggle() { this.toggled = !this.toggled },
3333
},
3434
}
3535
</script>

0 commit comments

Comments
 (0)