Skip to content

Commit

Permalink
fix(profile): follow button hover state
Browse files Browse the repository at this point in the history
Signed-off-by: Josemaria Nriagu <josemaria.nriagu@akasha.world>
  • Loading branch information
josenriagu committed Sep 17, 2024
1 parent a573bf7 commit c3adfab
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,13 @@ export const FollowButton = ({
inactiveVariant="secondary"
loading={loading}
fixedWidth={'w-[7rem]'}
{...(customizeButton?.variant !== 'primary' && {
hoverColors: {
background: { light: 'transparent', dark: 'transparent' },
border: { light: 'errorLight', dark: 'errorDark' },
text: { light: 'errorLight', dark: 'errorDark' },
icon: { light: 'errorLight', dark: 'errorDark' },
},
})}
hover={true}
hoverColors={{
background: { light: 'transparent', dark: 'transparent' },
border: { light: 'errorLight', dark: 'errorDark' },
text: { light: 'errorLight', dark: 'errorDark' },
icon: { light: 'errorLight', dark: 'errorDark' },
}}
customStyle={disabledStyle}
onClickInactive={() => handleFollow(profileID, followDocumentId, !isFollowing)}
onClickActive={() => handleFollow(profileID, followDocumentId, !isFollowing)}
Expand Down

0 comments on commit c3adfab

Please sign in to comment.