diff options
author | Ivan Chen <ivan@tagg.id> | 2021-06-01 19:20:29 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-06-01 19:20:29 -0400 |
commit | d5eecec87e4893ea39670dde5a14fd919e7c2f28 (patch) | |
tree | d9c48adedb3f503b68f347479b238ddd14bf81d3 /src | |
parent | c71f1279af4ba37b5dce784cae4090ae857f85c1 (diff) |
Cleanup code
Diffstat (limited to 'src')
-rw-r--r-- | src/components/profile/ProfileBadges.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/profile/ProfileBadges.tsx b/src/components/profile/ProfileBadges.tsx index 3456afe9..978211da 100644 --- a/src/components/profile/ProfileBadges.tsx +++ b/src/components/profile/ProfileBadges.tsx @@ -114,7 +114,7 @@ const ProfileBadges: React.FC<ProfileBadgesProps> = ({userXId, screenType}) => { <BadgeDetailView userXId={userXId} screenType={screenType} - isEditable={userXId === undefined} + isEditable={isOwnProfile} userFullName={name} setBadgeViewVisible={setIsEditBadgeModalVisible} /> |