Skip to content

Commit

Permalink
fix: fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanenkoStud committed Aug 9, 2024
1 parent 0af3984 commit 2427449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kite-chat/src/kite-chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ export class KiteChat {
const notification = new Notification(title, {
...options,
image: isFileMsg(msg) ? URL.createObjectURL(msg.file) : undefined,
});
} as NotificationOptions);
notification.onclick = this.onNotificationClick.bind(this);
}
}
Expand Down

0 comments on commit 2427449

Please sign in to comment.