Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohan-cp committed Oct 25, 2023
1 parent 49bdf9d commit 104ba72
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/mobile/src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const buttonVariants: ButtonVariants = {
loadingColor: 'white',
},
active: {
containerClassName: 'bg-black-900 border border-[#001CC1]',
containerClassName: 'bg-black-900',
textClassName: 'text-white',
loadingColor: 'white',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function NotificationSkeleton({
... on SomeoneAdmiredYourTokenNotification {
token {
...NotificationPostPreviewWithBoundaryFragment
}
}
}
... on SomeoneFollowedYouNotification {
followers(last: 1) {
Expand Down Expand Up @@ -170,7 +170,7 @@ export function NotificationSkeleton({
}
return null;
}, [notification]);

const lastFollower = useMemo(() => notification.followers?.edges?.[0]?.node, [notification]);

return (
Expand Down
3 changes: 3 additions & 0 deletions apps/mobile/src/screens/NftDetailScreen/NftDetailSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ export function NftDetailSection({ onShare, queryRef }: Props) {
<ProfilePictureBubblesWithCount
eventName="Nft Detail Screen Admire Bubbles Pressed"
eventElementId="Nft Detail Screen Admire Bubbles"
eventContext={contexts['NFT Detail']}
onPress={handleSeeAllAdmires}
userRefs={admireUsers}
totalCount={totalAdmires}
Expand All @@ -271,6 +272,7 @@ export function NftDetailSection({ onShare, queryRef }: Props) {
<GalleryTouchableOpacity
eventElementId={'NFT Detail Token Admire'}
eventName={'NFT Detail Token Admire Clicked'}
eventContext={contexts['NFT Detail']}
onPress={toggleTokenAdmire}
>
<AdmireIcon active={hasViewerAdmiredEvent} />
Expand Down Expand Up @@ -383,6 +385,7 @@ export function NftDetailSection({ onShare, queryRef }: Props) {
icon={<AdmireIcon active={hasViewerAdmiredEvent} />}
eventElementId={'NFT Detail Token Admire'}
eventName={'NFT Detail Token Admire Clicked'}
eventContext={contexts['NFT Detail']}
onPress={toggleTokenAdmire}
text="admire"
/>
Expand Down
6 changes: 5 additions & 1 deletion apps/web/src/scenes/NftDetailPage/NftDetailText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,9 @@ function NftDetailText({ queryRef, tokenRef, authenticatedUserOwnsAsset }: Props
active={hasViewerAdmiredToken}
onClick={hasViewerAdmiredToken ? handleRemoveAdmire : handleAdmire}
variant="blue"
eventElementId="Nft Detail Admire Token Button"
eventName="Nft Detail Admire Token Button Pressed"
eventContext={contexts['NFT Detail']}
onMouseEnter={() => setIsAdmireHovered(true)}
onMouseLeave={() => setIsAdmireHovered(false)}
>
Expand All @@ -376,7 +379,8 @@ function NftDetailText({ queryRef, tokenRef, authenticatedUserOwnsAsset }: Props
eventElementId="Create Post Button"
eventName="Create Post"
eventContext={contexts['NFT Detail']}
onClick={handleCreatePostClick}>
onClick={handleCreatePostClick}
>
<HStack gap={8} align="center">
<PlusSquareIcon stroke="#FFFFFF" />
Create Post
Expand Down

0 comments on commit 104ba72

Please sign in to comment.