Skip to content

Conversation

@Jag96
Copy link
Contributor

@Jag96 Jag96 commented Jun 4, 2021

@roryabraham will you please review this

Details

This PR fixes an issue that I found while testing Expensify/react-native-onyx#76 (review). Currency does not have a default value, so if the IOUReport isn't done fetching before we try to display the IOUBadge, we can get a white screen on Web and Desktop. We also have default values for the other iouReport props in the IOUBadge, so we should add one for currency anyway.

Tests/QA

  1. Sign into an account with an IOU
  2. Confirm the chats load normally and there isn't a white screen

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

N/A

@Jag96 Jag96 requested a review from roryabraham June 4, 2021 18:59
@Jag96 Jag96 requested a review from a team as a code owner June 4, 2021 18:59
@Jag96 Jag96 self-assigned this Jun 4, 2021
@MelvinBot MelvinBot requested review from HorusGoul and removed request for a team June 4, 2021 19:00
@Jag96
Copy link
Contributor Author

Jag96 commented Jun 4, 2021

@roryabraham updated

@Jag96 Jag96 merged commit 3eee51b into main Jun 4, 2021
@Jag96 Jag96 deleted the joe-set-default-currency branch June 4, 2021 21:23
@OSBotify
Copy link
Contributor

OSBotify commented Jun 4, 2021

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

OSBotify commented Jun 7, 2021

🚀 Deployed to staging in version: 1.0.63-1🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

OSBotify commented Jun 8, 2021

🚀 Deployed to production in version: 1.0.64-0🚀

platform result
🤖 android 🤖 failure ❌
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants