-
Notifications
You must be signed in to change notification settings - Fork 583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ONYX-1516): fix null in auction result screen header, and spacing on the auctions screen #11510
base: main
Are you sure you want to change the base?
Conversation
…-on-the-auction-result-header-sales-screen-layout-is-incorrect
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌟
@@ -54,9 +54,13 @@ export const AuctionResult: React.FC<Props> = (props) => { | |||
|
|||
const tracking = useTracking() | |||
|
|||
const headerTitleString = auctionResult.dateText |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very minor: IMO, there is no need to add the variable type to the variable name.
const headerTitleString = auctionResult.dateText | |
const headerTitle = auctionResult.dateText |
onPress={() => { | ||
trackEvent(tracks.tappedHeader(contextScreenOwnerType)) | ||
navigate("/auctions/lots-for-you-ending-soon") | ||
}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To enable prefetching 🚀
onPress={() => { | |
trackEvent(tracks.tappedHeader(contextScreenOwnerType)) | |
navigate("/auctions/lots-for-you-ending-soon") | |
}} | |
href="/auctions/lots-for-you-ending-soon" | |
onPress={() => { | |
trackEvent(tracks.tappedHeader(contextScreenOwnerType)) | |
}} |
This PR resolves ONYX-1516
Description
Fix:
PR Checklist
To the reviewers 👀
Changelog updates
Changelog updates
Cross-platform user-facing changes
iOS user-facing changes
Android user-facing changes
Dev changes
Need help with something? Have a look at our docs, or get in touch with us.