Skip to content

Commit 8b21e71

Browse files
committed
Fix spellcheck failures in deeplink comments
Use US spelling for "recognize" and drop the percent-encoded exitTo examples, which cspell reads as the unknown words "Fintent" and "Dsubmit".
1 parent f843d86 commit 8b21e71

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/libs/Navigation/AppNavigator/SubmitIntentDeeplinkHandler/ApplySubmitOnboardingIntent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {useEffect, useRef} from 'react';
1818
* leaves them. Anyone who still has onboarding ahead of them is left to it untouched, since that flow already offers
1919
* the Submit outcome.
2020
*
21-
* Only rendered once the deeplink has been recognised, so the Onyx subscriptions behind `useAutoCreateSubmitWorkspace`
21+
* Only rendered once the deeplink has been recognized, so the Onyx subscriptions behind `useAutoCreateSubmitWorkspace`
2222
* are never set up for ordinary sessions.
2323
*/
2424
function ApplySubmitOnboardingIntent() {

src/libs/Navigation/AppNavigator/SubmitIntentDeeplinkHandler/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import React from 'react';
77
import ApplySubmitOnboardingIntent from './ApplySubmitOnboardingIntent';
88

99
/**
10-
* Recognises the `intent=submit` onboarding deeplink and hands off to the component that acts on it.
10+
* Recognizes the `intent=submit` onboarding deeplink and hands off to the component that acts on it.
1111
*/
1212
function SubmitIntentDeeplinkHandler() {
1313
const onboardingDeeplinkIntent = useOnboardingDeeplinkIntent();

src/libs/getOnboardingIntentFromUrl.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*
55
* The param arrives in one of two shapes:
66
* - directly, when the recipient is already signed in: `/onboarding?intent=submit`
7-
* - nested in the `exitTo` of an auth handoff link: `/transition?...&exitTo=onboarding%3Fintent%3Dsubmit` or
8-
* `/v/<accountID>/<validateCode>?exitTo=onboarding%3Fintent%3Dsubmit`
7+
* - nested in the `exitTo` of an auth handoff link, where `onboarding?intent=submit` is URL-encoded:
8+
* `/transition?...&exitTo=<encoded>` or `/v/<accountID>/<validateCode>?exitTo=<encoded>`
99
*
1010
* Nesting it in `exitTo` is what carries the intent across the logged-out -> logged-in transition: the deeplink
1111
* outlives the sign-in itself, so the intent is still readable once the authenticated screens mount.

0 commit comments

Comments
 (0)