Skip to content

Commit a42e669

Browse files
authored
Update README.md
correction for computed variable name
1 parent 1717306 commit a42e669

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3947,7 +3947,7 @@ List of 300 VueJS Interview Questions
39473947

39483948
computed: {
39493949
...mapState({
3950-
message: state => state.user.username
3950+
username: state => state.user.username
39513951
})
39523952
},
39533953
methods: {
@@ -3969,7 +3969,7 @@ List of 300 VueJS Interview Questions
39693969
```javascript
39703970
<input v-model="username">
39713971
computed: {
3972-
message: {
3972+
username: {
39733973
get () {
39743974
return this.$store.state.user.username
39753975
},

0 commit comments

Comments
 (0)