diff --git a/app/components/Navbar.js b/app/components/Navbar.js index 058a3d2c..4e3e8ad4 100644 --- a/app/components/Navbar.js +++ b/app/components/Navbar.js @@ -1,26 +1,14 @@ // @flow import { ipcRenderer } from 'electron'; import React, { Component } from 'react'; -import { connect } from 'react-redux'; import { Link, NavLink } from 'react-router-dom'; -import { toggleForceRefresh } from '../modules/coins/actions'; import image from "../appIconLarge.png"; class Navbar extends Component { - constructor(props) { - super(props); - - this.onClickForceRefresh = ::this.onClickForceRefresh; - } - onClickUpdateAvailable() { ipcRenderer.send('check-update', true); } - onClickForceRefresh() { - this.props.toggleForceRefresh(); - } - render() { return (