From 1fd7a75368153b0b5e8a2c54c970ccd71fee435d Mon Sep 17 00:00:00 2001 From: mertJF Date: Tue, 29 Dec 2020 22:15:54 +0300 Subject: [PATCH] Revert "promote bar" This reverts commit f969597853d0ed4892c12dc8fcf410a71e606fd4. --- src/App.js | 13 +------------ src/index.css | 4 ++-- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/src/App.js b/src/App.js index ff71200..bfa874c 100644 --- a/src/App.js +++ b/src/App.js @@ -94,7 +94,6 @@ class App extends Component { copied: false, sidebar: true, codeView: false, - showNotification: false, currentKeyCode: null, view: 'desktop', theme: 'indigo', @@ -120,9 +119,6 @@ class App extends Component { componentDidMount() { document.addEventListener('keydown', this.keyboardNavigation); - setTimeout(() => { - this.setState({ showNotification: true }) - }, 1000); } hideSidebar() { @@ -319,20 +315,13 @@ class App extends Component { } render() { - const { darkMode, theme, blockName, blockType, sidebar, view, copied, currentKeyCode, showNotification } = this.state; + const { darkMode, theme, blockName, blockType, sidebar, view, copied, currentKeyCode } = this.state; return (