aboutsummaryrefslogtreecommitdiff
path: root/src/components/taggs/TaggsBar.tsx
diff options
context:
space:
mode:
authorAshm Walia <40498934+ashmgarv@users.noreply.github.com>2020-11-09 12:16:44 -0800
committerGitHub <noreply@github.com>2020-11-09 15:16:44 -0500
commitf347ef180ece9235380f2225243beddaececa949 (patch)
tree02ae7739ae16f68fb47a574420c1c497fb5f06ac /src/components/taggs/TaggsBar.tsx
parentd7ed9541f47c22d93c43a32baf3bf33d68d823c8 (diff)
[FOR MASS REVIEW] Multiple contexts(Searched user gets replaced) (#97)
* First commit towards clean code * Tested things * Some final touch * View updates posts * Cleaned up followers / following * You won't believe but it works * Pass avatar uri via props * Small change * Small change * Removed unnecessary jargon Co-authored-by: Ivan Chen <ivan@thetaggid.com>
Diffstat (limited to 'src/components/taggs/TaggsBar.tsx')
-rw-r--r--src/components/taggs/TaggsBar.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/taggs/TaggsBar.tsx b/src/components/taggs/TaggsBar.tsx
index f2622011..aac68e99 100644
--- a/src/components/taggs/TaggsBar.tsx
+++ b/src/components/taggs/TaggsBar.tsx
@@ -79,7 +79,8 @@ const TaggsBar: React.FC<TaggsBarProps> = ({
* TODO : Figure out a better way to get the updates social posts for the profile being visited.
* Have an event triggered from ProfileProvider based on which we could make a call to backedn to get updated posts.
*/
- socialsNeedUpdate(INTEGRATED_SOCIAL_LIST);
+ //We may need the line below in future ?
+ // socialsNeedUpdate(INTEGRATED_SOCIAL_LIST);
loadData();
}
}, [isProfileView, taggsNeedUpdate, user.userId]);