Skip to content

Commit a74e002

Browse files
committed
docs: update readme
1 parent 91a2e11 commit a74e002

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ const ChatApp = () => {
162162
client
163163
.open({
164164
user: '',
165-
token: '',
165+
accessToken: '',
166166
})
167167
.then(res => {
168168
console.log('get token success', res);
@@ -176,11 +176,11 @@ const ChatApp = () => {
176176
}, [client]);
177177

178178
return (
179-
<div>
180-
<div>
179+
<div style={{ display: 'flex', height: '100vh' }}>
180+
<div style={{ width: '350px' }}>
181181
<ConversationList />
182182
</div>
183-
<div>
183+
<div style={{ flex: '1' }}>
184184
<Chat />
185185
</div>
186186
</div>

0 commit comments

Comments
 (0)