Skip to content

Commit 00ac4fb

Browse files
committed
fix prettier
1 parent 7ccc4be commit 00ac4fb

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/libs/LoginUtils.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,22 @@ function appendCountryCode(phone: string): string {
3737

3838
/**
3939
* MIGRATION STEP 1: Temporary function for transitioning away from Onyx.connect to useOnyx
40-
*
40+
*
4141
* This function serves as a bridge during our migration from Onyx.connect to useOnyx hooks.
4242
* The main appendCountryCode() function currently uses countryCodeByIPOnyx (via Onyx.connect),
4343
* but UI components need to use useOnyx hooks for better React integration.
44-
*
44+
*
4545
* Migration plan:
4646
* 1. Add this function with explicit countryCode parameter (current step)
47-
* 2. Update UI components to use useOnyx(ONYXKEYS.COUNTRY_CODE)
47+
* 2. Update UI components to use useOnyx(ONYXKEYS.COUNTRY_CODE)
4848
* 3. Update UI components to call this function with explicit countryCode
4949
* 4. Remove Onyx.connect from main appendCountryCode function
5050
* 5. Remove this temporary function and update all calls to use main function
51-
*
51+
*
5252
* @param phone - Phone number to append country code to
5353
* @param countryCode - Country code (e.g., "1" for US, "44" for UK)
5454
* @returns Phone number with country code appended
55-
*
55+
*
5656
* TODO: Remove this function after completing Onyx.connect deprecation (issue #66329)
5757
*/
5858
function appendCountryCodeWithCountryCode(phone: string, countryCode: string): string {

0 commit comments

Comments
 (0)