diff --git a/src/components/Toolbar.jsx b/src/components/Toolbar.jsx index 1c63828..462328d 100644 --- a/src/components/Toolbar.jsx +++ b/src/components/Toolbar.jsx @@ -121,22 +121,25 @@ export default class Toolbar extends React.Component { top: 0, backgroundColor: colors.black }}> - this.toggleSettings.bind(this)} - /> - this.toggleOpen.bind(this)} - /> - this.toggleSources.bind(this)} - /> + {this.state.openSettingsModal && this.toggleSettings.bind(this)} + /> + } + {this.state.openOpenModal && this.toggleOpen.bind(this)} + /> + } + {this.state.openSourcesModal && this.toggleSources.bind(this)} + /> + }