Skip to content

Commit

Permalink
FTX: disconnect when hiding
Browse files Browse the repository at this point in the history
  • Loading branch information
petemill committed Jun 11, 2021
1 parent d2f77e6 commit 96cde5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/brave_new_tab_ui/containers/newTab/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ class NewTabPage extends React.Component<Props, State> {
}

toggleShowFTX = () => {
this.props.actions.ftx.disconnect()
this.props.saveShowFTX(!this.props.newTabData.showFTX)
}

Expand Down

0 comments on commit 96cde5b

Please sign in to comment.