From bf0c6f55213454f633a586652424e805a53110cf Mon Sep 17 00:00:00 2001 From: Sing Date: Wed, 13 Mar 2019 10:39:09 +0800 Subject: [PATCH] :recycle: Clean up redundant code in App.js --- src/App.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/App.js b/src/App.js index 5cbf676..f8736df 100644 --- a/src/App.js +++ b/src/App.js @@ -6,17 +6,6 @@ import EncodeForm from './components/encodeForm' import DecodeForm from './components/decodeForm' class App extends Component { - constructor(props) { - super(props) - this.state = { - activeIndex: 0 - } - } - - handleClick = (activeIndex) => { - this.setState({ activeIndex }) - } - render() { return (