We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c9b8c3 commit 9359ebcCopy full SHA for 9359ebc
README.md
@@ -90,7 +90,11 @@ You can import it as a custom component:
90
91
```javascript
92
<template>
93
- <chat-window :current-user-id="currentUserId" :rooms="rooms" :messages="messages" />
+ <chat-window
94
+ :current-user-id="currentUserId"
95
+ :rooms="rooms"
96
+ :messages="messages"
97
+ />
98
</template>
99
100
<script>
@@ -122,13 +126,13 @@ You can import it as a custom component:
122
126
// DO THIS
123
127
const rooms = []
124
128
for (let i = 0; i < res.length; i++) {
125
- rooms.push(res)
129
+ rooms.push(res)
130
}
131
this.rooms = rooms
132
133
// DON'T DO THIS
134
- this.rooms.push(res)
135
+ this.rooms.push(res)
136
137
```
138
0 commit comments