fix: Use bus.$off to remove listeners on destroy (#3478)

This commit is contained in:
Pranav Raj S
2021-11-29 21:15:36 -08:00
committed by GitHub
parent 86dfdfb9ab
commit 0899f62912
8 changed files with 44 additions and 24 deletions

View File

@@ -3,4 +3,6 @@ export const BUS_EVENTS = {
SHOW_ALERT: 'SHOW_ALERT',
START_NEW_CONVERSATION: 'START_NEW_CONVERSATION',
FOCUS_CUSTOM_ATTRIBUTE: 'FOCUS_CUSTOM_ATTRIBUTE',
SCROLL_TO_MESSAGE: 'SCROLL_TO_MESSAGE',
TOGGLE_SIDEMENU: 'TOGGLE_SIDEMENU',
};