[No QA]: Remove Onyx.connect() for the key: ONYXKEYS.ACCOUNT in src/libs/actions/App.ts#69657
Conversation
…ibs/actions/App.ts for ONYXKEYS.ACCOUNT
|
|
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
blazejkustra
left a comment
There was a problem hiding this comment.
@dariusz-biela Shouldn't this be closed?
|
I'm closing this PR because a better way to address this issue is to remove unnecessary code. I'm making the appropriate changes to this PR: #69662 |
Explanation of Change
Replaces
Onyx.connectwithOnyx.connectWithoutViewfor theONYXKEYS.ACCOUNTkey insrc/libs/actions/App.ts.It also adds a comment explaining why
Onyx.connectWithoutViewis appropriate for gettingpreservedShouldUseStagingServervalue.Fixed Issues
$ #66485
PROPOSAL:
Tests
N/A
Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
N/A