Skip to content

Commit dc492d8

Browse files
Fix indent events-web.md
1 parent 605dcbc commit dc492d8

File tree

1 file changed

+10
-10
lines changed
  • articles/communication-services/how-tos/calling-sdk/includes/events

1 file changed

+10
-10
lines changed

articles/communication-services/how-tos/calling-sdk/includes/events/events-web.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,16 @@ Your application should notify the user of the incoming call. The notification p
6161
**Code sample:**
6262
```javascript
6363
callClient.on('incomingCall', (async (incomimgCallEvent) => {
64-
try {
65-
// Store a reference to the call object
66-
incomingCall = incomimgCallEvent.incomingCall;
67-
// Update your UI to allow
68-
acceptCallButton.disabled = false;
69-
callButton.disabled = true;
70-
} catch (error) {
71-
console.error(error);
72-
}
73-
});
64+
try {
65+
// Store a reference to the call object
66+
incomingCall = incomimgCallEvent.incomingCall;
67+
// Update your UI to allow
68+
acceptCallButton.disabled = false;
69+
callButton.disabled = true;
70+
} catch (error) {
71+
console.error(error);
72+
}
73+
});
7474
```
7575
7676
#### Event Name: `callsUpdated`

0 commit comments

Comments
 (0)