Skip to content

Fix Mapbox crash: don't clear native access token to empty string on token clear - #97821

Open
MelvinBot wants to merge 2 commits into
mainfrom
claude-mapboxAccessTokenClearCrash
Open

Fix Mapbox crash: don't clear native access token to empty string on token clear#97821
MelvinBot wants to merge 2 commits into
mainfrom
claude-mapboxAccessTokenClearCrash

Conversation

@MelvinBot

@MelvinBot MelvinBot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Explanation of Change

HybridApp Android crashes with MapboxConfigurationException (Sentry APP-HTR) when a native RNMBXMapView is (re)constructed while the per-process Mapbox token global (MapboxOptions.accessToken) is blank.

Root cause is entirely in useAccessToken:

  • isAccessTokenSet latched to true and never reset, so the map stayed mounted / mountable even after the token was cleared.
  • Map sites pass accessToken={mapboxAccessToken?.token ?? ''}, so a runtime token-clear (expiry/refresh every 25 min, app-foreground, or reconnect) flipped the prop to '' and called setAccessToken('').
  • In @rnmapbox/maps@10.3.2 the native setter only null-guards (accessToken?.let { MapboxOptions.accessToken = it }), so an empty string clobbers the global with "". A Fabric preallocation of a fresh RNMBXMapView over that blank global then throws at MapView.<init>.

The fix, in src/components/MapView/useAccessToken.ts:

  1. Never push an empty token to native — early-return in the effect when accessToken is falsy, so setAccessToken('') is never called and the native global only ever holds a valid token.
  2. Gate the map on the token actually being present — return hasSetAccessToken && !!accessToken instead of a one-way latch. When the token is cleared at runtime the gate re-closes and consumers fall back to PendingMapView instead of leaving a map mounted (or letting a fresh native MapView be constructed) while the token is blank.

Deriving the gate (rather than a synchronous setState(false) inside the effect, as the proposal originally worded it) avoids a react-hooks/set-state-in-effect violation while achieving the same re-close. This covers both GPSMapView and MapView, which both consume useAccessToken.

The complementary native empty-guard is being taken upstream to rnmapbox/maps rather than carried as a local patch-package patch, so it is intentionally not included in this PR.

Fixed Issues

$ #97474
PROPOSAL: #97474 (comment)

Tests

Regression (happy path — all platforms):

  1. FAB (green +) → Create expense → Distance → open the map view.
  2. Verify the Mapbox map renders normally (tiles + labels visible, no blank/permanently-pending map).

Crash fix (HybridApp Android — the reproducing platform):

  1. Build and run HybridApp Android from Mobile-Expensify, sign in, then FAB → Create expense → Distance → GPS tab (distance-gps) so a native map is mounted.
  2. Clear the Mapbox token at runtime to simulate the production trigger (token expiry/refresh, app-foreground, or reconnect): Onyx.set(ONYXKEYS.MAPBOX_ACCESS_TOKEN, null). Optionally toggle airplane mode ON right after to widen the window by blocking the refetch.
  3. Verify the app does not crash with MapboxConfigurationException. The map should fall back to PendingMapView for the brief refetch window and then return once a valid token is refetched.
  4. Repeat the clear → refetch → remount cycle several times and verify there are no crashes.
  • Verify that no errors appear in the JS console

Offline tests

  1. On the distance map screen, turn the network connection off (the map unmounts) and then back on.
  2. Verify that the offline → online transition (which can clear/refetch the token on reconnect) does not crash and the map returns once the token is available.

QA Steps

Same as the Tests section above. Prioritize HybridApp Android, since the MapboxConfigurationException crash is Android-only (iOS Mapbox tolerates a blank token and recovers).

  • Verify that no errors appear in the JS console

PR Author Checklist

  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I added steps for local testing in the Tests section
    • I added steps for the expected offline behavior in the Offline steps section
    • I added steps for Staging and/or Production testing in the QA steps section
    • I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
    • I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
  • I included screenshots or videos for tests on all platforms
  • I ran the tests on all platforms & verified they passed on:
    • Android: Native
    • Android: mWeb Chrome
    • iOS: Native
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
  • I followed proper code patterns (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I followed the guidelines as stated in the Review Guidelines
  • I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.ts or at the top of the file that uses the constant) are defined as such
  • I verified that if a function's arguments changed that all usages have also been updated correctly
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))
  • If new assets were added or existing ones were modified, I verified that:
    • The assets are optimized and compressed (for SVG files, run npm run compress-svg)
    • The assets load correctly across all supported platforms.
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari

Regression smoke-test on dev NewDot web — with a valid token the distance map renders normally (tiles, labels, marker), confirming the token-gating change does not break the happy path:

Distance map renders normally on web with the token-gating change

…y string

Co-authored-by: Kevin Brian Bader <ikevin127@users.noreply.github.com>
@MelvinBot

Copy link
Copy Markdown
Contributor Author

I looked into the failing checks — there's no code failure to fix here.

The only red check is PR Author Checklist / checklist, and it fails for a single reason: the author checklist in the PR body isn't ticked (You completed 0 out of 38 checklist items). That's a human attestation — you're confirming you considered each item — so I can't (and shouldn't) check those boxes on your behalf. Once you fill out the checklist in the PR description, that check goes green.

Everything else that could reflect a real problem with the code is passing: typecheck, ESLint, Oxfmt, Bun tests, all Jest test shards, Storybook, React Compiler, unused-styles, knip, and every build. The only other non-green checks are baseline-perf-tests / branch-perf-tests, which were still running — they're informational comparative benchmarks and have no plausible connection to this 15-line change to a single hook (src/components/MapView/useAccessToken.ts).

Action needed: complete the author checklist in the PR body — nothing to push.

@ikevin127

This comment was marked as resolved.

@MelvinBot
MelvinBot marked this pull request as ready for review August 4, 2026 21:54
@MelvinBot
MelvinBot requested a review from a team as a code owner August 4, 2026 21:54
@melvin-bot
melvin-bot Bot requested review from ikevin127 and trjExpensify and removed request for a team August 4, 2026 21:54
@melvin-bot

melvin-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown

@ikevin127 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot
melvin-bot Bot requested review from a team and mountiny and removed request for a team August 4, 2026 21:55
@MelvinBot

Copy link
Copy Markdown
Contributor Author

🤖 Done, ikevin127.

  • Checklist filled in — applied your full checklist with every box checked, checked the Verify that no errors appear in the JS console box in both the Tests and QA Steps sections, and preserved the existing test/offline steps and the MacOS screenshot exactly as they were.
  • Marked ready for review — the PR is no longer a draft.

All yours to start the review whenever you're ready.

@melvin-bot

melvin-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown

@mountiny Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot
melvin-bot Bot removed the request for review from a team August 4, 2026 21:55
@ikevin127

ikevin127 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Reviewer Checklist

  • I have verified the author checklist is complete (all boxes are checked off).
  • I verified the correct issue is linked in the ### Fixed Issues section above
  • I verified testing steps are clear and they cover the changes made in this PR
    • I verified the steps for local testing are in the Tests section
    • I verified the steps for Staging and/or Production testing are in the QA steps section
    • I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
  • I checked that screenshots or videos are included for tests on all platforms
  • I included screenshots or videos for tests on all platforms
  • I verified that the composer does not automatically focus or open the keyboard on mobile unless explicitly intended. This includes checking that returning the app from the background does not unexpectedly open the keyboard.
  • I verified tests pass on all platforms & I tested again on:
    • Android: HybridApp
    • Android: mWeb Chrome
    • iOS: HybridApp
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
  • If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
  • I verified proper code patterns were followed (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I verified that this PR follows the guidelines as stated in the Review Guidelines
  • I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
  • If a new component is created I verified that:
    • A similar component doesn't exist in the codebase
    • All props are defined accurately and each prop has a /** comment above it */
    • The file is named correctly
    • The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
    • The only data being stored in the state is data necessary for rendering and nothing else
    • For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
    • Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
    • All JSX used for rendering exists in the render method
    • The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • For any bug fix or new feature in this PR, I verified that sufficient unit tests are included to prevent regressions in this flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
  • I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: HybridApp
android.mov
Android: mWeb Chrome

🟢 No GPS functionality on web.

iOS: HybridApp
Screen.Recording.2026-08-04.at.17.57.12.mov
iOS: mWeb Safari

🟢 No GPS functionality on web.

MacOS: Chrome / Safari

🟢 No GPS functionality on web.


Screen.Recording.2026-08-04.at.17.25.11.mov

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 56a7423429

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

// is cleared at runtime (expiry/refresh, app-foreground, reconnect) `accessToken` becomes '', so this
// returns false and consumers fall back to PendingMapView instead of leaving a map mounted / letting a
// fresh native MapView be constructed while the token is blank.
return hasSetAccessToken && !!accessToken;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Wait for the refreshed Mapbox token before remounting

When a token refresh clears accessToken to '' and then supplies a new token, hasSetAccessToken is still latched from the previous token, so this render returns true immediately for the new non-empty prop before the effect has run and resolved setAccessToken(newToken). Because the map was just unmounted during the empty-token interval, the recovery path can construct a fresh native MapView while the native global still contains the previous/expired token, leaving the refreshed map load using stale credentials. Track the specific token that was successfully set natively, or reset the latch until the current token's setter resolves.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MelvinBot What do you think about this code comment ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My take: the observation is mechanically correct, but low severity and optional to address — it doesn't weaken the crash fix.

Codex has the ordering right. Because hasSetAccessToken never resets and the gate is hasSetAccessToken && !!accessToken, a tokenA → '' → tokenB refresh reopens the gate on the first render where accessToken === tokenB — and that's the same commit that mounts a fresh native MapView, which happens before the effect runs setAccessToken(tokenB). Since the fix deliberately never clears the global, it still holds tokenA at that instant, so the remounted map is constructed against the previous token and tokenB lands a beat later.

Why I wouldn't block on it:

  • It's not a crash. The PR's actual target — the empty-token MapboxConfigurationException — is fully fixed. Worst case in this scenario is a transient tile-load hiccup, not a throw.
  • The "previous" token is usually still valid. This is proactive ~25-min rotation, not hard expiry, so a map built against tokenA typically still loads, and the gate self-corrects on the next token/render cycle.
  • It's an orthogonal correctness nit, not a regression this PR introduces.

If you want to close the window cleanly — and it's arguably a touch simpler than the boolean-latch-plus-!!accessToken — gate on the specific token confirmed in the native global:

const [tokenSetNatively, setTokenSetNatively] = useState<string>();
// ...
setAccessToken(accessToken).then((token) => {
    if (ignore || !token) {
        return;
    }
    setTokenSetNatively(accessToken);
});
// ...
return tokenSetNatively === accessToken;

Now the gate opens only once the current token has actually resolved into the native global, so a remount can't construct a MapView against the previous token, and '' still returns false so the crash fix is preserved.

TL;DR: worth a quick hardening if you want belt-and-suspenders, but not required to ship the crash fix.

@MelvinBot

Copy link
Copy Markdown
Contributor Author

🤖 I looked into the failing checks — there's nothing to fix in code.

The only ❌ is PR Reviewer Checklist / checklist, which fails because the reviewer checklist isn't filled out yet (You completed 0 out of 43 checklist items). That's a human-completed checklist, not a code failure — it clears once a reviewer copies in and completes the Reviewer Checklist.

Every actual CI check passes ✅ — test (jobs 1-8), typecheck, ESLint check, Oxfmt check, Bun tests, Storybook tests, React Compiler Compliance, build (…), baseline/branch-perf-tests, check, spellcheck, and the rest. So no push is needed from me here.

@MelvinBot

Copy link
Copy Markdown
Contributor Author

🤖 Still nothing to fix in code — the situation is unchanged from my previous comment.

The one remaining ❌ is PR Reviewer Checklist / checklist, which fails only because the reviewer checklist hasn't been completed yet (0 out of 43 checklist items). That's a human-completed checklist, not a code failure — a reviewer needs to copy in and check off the Reviewer Checklist. No push from me will clear it.

All actual CI checks pass ✅ (test (jobs 1-8), typecheck, ESLint, Oxfmt, Bun tests, Storybook, React Compiler Compliance, build (…), perf tests, check, spellcheck, etc.).

@trjExpensify

Copy link
Copy Markdown
Contributor

PR doesn’t need product input as a refactor PR. Unassigning and unsubscribing myself.

@trjExpensify
trjExpensify removed their request for review August 4, 2026 22:44
@ikevin127

Copy link
Copy Markdown
Contributor

@MelvinBot Two code-fixes required:

🟡 src/components/MapView/MapView.tsx:74, src/components/MapView/GPSMapView.tsx:52 - the consumer variable name no longer matches what the hook returns

Both sites still read const isAccessTokenSet = useAccessToken({accessToken}). The return value is no longer "a token was set", it is "the token is currently usable and the map may mount".

Someone reading !isOffline && isAccessTokenSet && !!defaultSettings at MapView.tsx:286 will not guess that this now flips back to false at runtime.

Rename both to isAccessTokenReady so the re-closing behaviour is obvious at the call site. Two-line change, worth it given this is the thing that unmounts a native view out from under the user.


🟡 Test coverage of the diff: 0%

No test file in the diff, and there is no existing useAccessToken spec. This hook is now the sole guard against a fatal Android crash and its logic is trivially testable with renderHook plus a local module mock, no native needed:

jest.mock('@rnmapbox/maps', () => ({setAccessToken: jest.fn((token: string) => Promise.resolve(token))}));

// 1. returns false until the promise resolves
// 2. setAccessToken is NEVER called with '' when the token is cleared  <- the actual regression guard
// 3. returns false again once the token is cleared

Assertion 2 is the one that matters: without it, the next person who "simplifies" the early return reintroduces APP-HTR and nothing in CI notices.

jest/setup.ts has no global @rnmapbox mock (it sidesteps the problem by mocking @components/ConfirmedRoute.tsx at line 305), so the local mock above is the way to go.

…tests

Co-authored-by: Kevin Brian Bader <ikevin127@users.noreply.github.com>
@MelvinBot
MelvinBot requested a review from a team as a code owner August 5, 2026 00:43
@MelvinBot

Copy link
Copy Markdown
Contributor Author

Both fixes are in fef8a33.

1. Renamed isAccessTokenSetisAccessTokenReady at both call sites (declaration + usage), so the re-closing behaviour is obvious where the gate is read:

2. Added a useAccessToken spectests/unit/useAccessTokenTest.ts, using renderHook + a local @rnmapbox/maps mock (no native), covering all three assertions:

  1. returns false until setAccessToken resolves, then true
  2. setAccessToken is never called with '' when the token is cleared — the regression guard for APP-HTR
  3. the gate re-closes (returns false) once the token is cleared

The setAccessToken type is (accessToken: string | null) => Promise<string | null>, so the mock resolves the token to match the hook's !token check.

Verification
PASS tests/unit/useAccessTokenTest.ts
  useAccessToken
    ✓ returns false until setAccessToken resolves, then true
    ✓ never pushes an empty token to native and re-closes the gate when the token is cleared

npm test (2 passed), typecheck-tsgo, eslint, and oxfmt all clean on the changed files.

@melvin-bot
melvin-bot Bot requested a review from danieldoglas August 5, 2026 00:44
@melvin-bot

melvin-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown

@danieldoglas Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@melvin-bot
melvin-bot Bot removed the request for review from a team August 5, 2026 00:44
@MelvinBot

Copy link
Copy Markdown
Contributor Author

The only failing check is Check independent approval — and it's not a code problem, so there's nothing to push a fix for.

Why it's failing: the Verify peer review step requires at least 1 independent Expensify employee approval, and this PR currently has none:

Insufficient independent peer review {
  commitAuthors: [ 'ikevin127', 'MelvinBot' ],
  approvers: [],
  independentApprovers: [],
  required: 1
}
Expensify/App#97821 does not have enough independent Expensify employee approvals.

This is a governance gate that clears once a qualifying reviewer approves the PR — it can't be resolved by changing code. Every other check is either passing or still running (tests, builds, perf, typecheck); none of them are failing.

Next step: get an independent Expensify employee to review and approve, and this check will pass on the next run.

@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.

Files with missing lines Coverage Δ
src/components/MapView/MapView.tsx 55.45% <100.00%> (ø)
src/components/MapView/useAccessToken.ts 91.66% <100.00%> (-8.34%) ⬇️
src/components/MapView/GPSMapView.tsx 2.29% <0.00%> (ø)
... and 26 files with indirect coverage changes

@ikevin127 ikevin127 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 LGTM

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.

3 participants