diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-06-09 20:55:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-09 20:55:44 -0400 |
| commit | e58c398eff2de37d8c599ccc82e4f592d755601b (patch) | |
| tree | f2e7a44c34f5877d59e4e27c132d2c1029174000 /src/components | |
| parent | 117996a44ffdb7c9c517ab58ad8ea5cbe0dd01f1 (diff) | |
| parent | d1d6556d02f56ca03350e04de7f466fa13c7d96c (diff) | |
Merge pull request #461 from shravyaramesh/tma915-navigate-back-on-editing
[TMA-915] Navigate to moment view and refresh for after editing
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/moments/MomentPost.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/moments/MomentPost.tsx b/src/components/moments/MomentPost.tsx index e744fcd9..b659177d 100644 --- a/src/components/moments/MomentPost.tsx +++ b/src/components/moments/MomentPost.tsx @@ -40,7 +40,7 @@ const MomentPost: React.FC<MomentPostProps> = ({item, userXId, screenType}) => { */ useEffect(() => { loadTags(); - }, []); + }, [item]); /* * Check if loggedInUser has been tagged in the picture and set the id |
