Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 26cb140

Browse files
committed
Remove unnecessary if
1 parent a8165d1 commit 26cb140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/createRoom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function createRoom(opts) {
8080

8181
let roomId;
8282
return client.createRoom(createOpts).finally(function() {
83-
if (modal) modal.close();
83+
modal.close();
8484
}).then(function(res) {
8585
roomId = res.room_id;
8686
if (opts.dmUserId) {

0 commit comments

Comments
 (0)