Permalink
Browse files

Fix #32 service tooltips not initialized properly

tooltips have to be rebuilt when services are added (ReactTooltip seems to cache them at first render)
  • Loading branch information...
haraldox
haraldox committed Jan 16, 2018
1 parent cd25aa3 commit 8765b8f4947f064350d046151dcda4434b55567a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/components/layout/Sidebar.js
@@ -50,6 +50,10 @@ export default class Sidebar extends Component {
this.setState({ tooltipEnabled: false });
}
componentDidUpdate() {
ReactTooltip.rebuild();
}
render() {
const { openSettings, toggleMuteApp, isAppMuted } = this.props;
const { intl } = this.context;

0 comments on commit 8765b8f

Please sign in to comment.