Skip to content

Commit

Permalink
Unlisten toggle-settings before unmount BoostHubTeamsShowPage
Browse files Browse the repository at this point in the history
  • Loading branch information
Rokt33r committed Aug 16, 2021
1 parent 6624596 commit be8ee03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/pages/BoostHubTeamsShowPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ const BoostHubTeamsShowPage = ({
removeIpcListener('toggle-split-edit-mode', toggleSplitEditMode)
removeIpcListener('apply-bold-style', applyBoldStyle)
removeIpcListener('apply-italic-style', applyItalicStyle)
removeIpcListener('toggle-settings', toggleSettings)
}
}, [active])

Expand Down

0 comments on commit be8ee03

Please sign in to comment.