feature: notify newMessage if window is blurred or closed

This commit is contained in:
Enrique H. Oliva 2021-07-30 08:52:43 -05:00
commit 515f67a120
7 changed files with 34 additions and 18 deletions

View file

@ -65,7 +65,7 @@ export const postNavBar = (payload: string): void => (
*
*/
export const postWindowBlur = (payload: { isFocused: boolean }): void => (
export const postWindowFocus = (payload: { isFocused: boolean }): void => (
post('post-window-focus', payload)
);