From b0461d21c8897e207c5f379a4db1eb68282ca533 Mon Sep 17 00:00:00 2001 From: mertJF Date: Sat, 2 Jan 2021 15:41:35 +0300 Subject: [PATCH] app:: bye notification bar --- src/App.js | 13 +------------ src/index.css | 4 +--- 2 files changed, 2 insertions(+), 15 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 (