From 1306a8109dd0f64e06a9ff92c01da0a2efa140cd Mon Sep 17 00:00:00 2001 From: Mayank Walia <86161735+mayankwalia@users.noreply.github.com> Date: Sun, 11 Sep 2022 10:33:53 +0530 Subject: [PATCH] Removed unnecessary code in changeAnimal snippet. // accessing the state value const count = this.state.count --- 08_Day_States/08_states.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/08_Day_States/08_states.md b/08_Day_States/08_states.md index cc40a01..3e3b00c 100644 --- a/08_Day_States/08_states.md +++ b/08_Day_States/08_states.md @@ -201,8 +201,6 @@ class App extends React.Component { } render() { - // accessing the state value - const count = this.state.count return (