aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2020-12-22 11:56:52 -0500
committerGitHub <noreply@github.com>2020-12-22 11:56:52 -0500
commit15225564bbf56599dd44eaea45998059e7c54b13 (patch)
tree66c58da1037945e39fe1adf99ba06d8f4258516f /src/components/profile
parentea38a3965df2f194da37b1350eb4ed0baa3bd38b (diff)
[TMA-447] Natural Transitions (#145)
* edit profile text now is back to black * changed default style to card and added custom modal transitions * resolved linter error
Diffstat (limited to 'src/components/profile')
-rw-r--r--src/components/profile/MomentMoreInfoDrawer.tsx2
-rw-r--r--src/components/profile/ProfileMoreInfoDrawer.tsx1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/components/profile/MomentMoreInfoDrawer.tsx b/src/components/profile/MomentMoreInfoDrawer.tsx
index 91fb3d2b..e127e05c 100644
--- a/src/components/profile/MomentMoreInfoDrawer.tsx
+++ b/src/components/profile/MomentMoreInfoDrawer.tsx
@@ -77,12 +77,14 @@ const MomentMoreInfoDrawer: React.FC<MomentMoreInfoDrawerProps> = (props) => {
<GenericMoreInfoDrawer
{...props}
showIcons={false}
+ textColor={'red'}
buttons={[['Delete Moment', handleDeleteMoment]]}
/>
) : (
<GenericMoreInfoDrawer
{...props}
showIcons={false}
+ textColor={'red'}
buttons={[['Report an Issue', handleReportMoment]]}
/>
)}
diff --git a/src/components/profile/ProfileMoreInfoDrawer.tsx b/src/components/profile/ProfileMoreInfoDrawer.tsx
index 4fe24128..80ad9bba 100644
--- a/src/components/profile/ProfileMoreInfoDrawer.tsx
+++ b/src/components/profile/ProfileMoreInfoDrawer.tsx
@@ -41,6 +41,7 @@ const ProfileMoreInfoDrawer: React.FC<ProfileMoreInfoDrawerProps> = (props) => {
<GenericMoreInfoDrawer
{...props}
showIcons={true}
+ textColor={'black'}
buttons={[
['Edit Profile', goToEditProfile, <PersonOutline color="black" />],
]}