From 116f97bf64f20e8262efe82cbb4f3fc2a7c677f7 Mon Sep 17 00:00:00 2001 From: Leon Liang Date: Fri, 6 Dec 2019 02:26:01 -0500 Subject: [PATCH] fixed topic.id bug --- twistter-frontend/src/pages/otherUser.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/twistter-frontend/src/pages/otherUser.js b/twistter-frontend/src/pages/otherUser.js index c4e3be3..8df2bce 100644 --- a/twistter-frontend/src/pages/otherUser.js +++ b/twistter-frontend/src/pages/otherUser.js @@ -254,24 +254,20 @@ class user extends Component { this.state.myTopics.includes(topic) ? ( } /> ) : this.state.following ? ( this.handleAdd(topic)} /> ) : ( - + ) ) : (