Skip to content

fix: replace non-null assertions with nullish coalescing#965

Merged
TaprootFreak merged 1 commit intodevelopfrom
fix/remove-non-null-assertions
Feb 18, 2026
Merged

fix: replace non-null assertions with nullish coalescing#965
TaprootFreak merged 1 commit intodevelopfrom
fix/remove-non-null-assertions

Conversation

@TaprootFreak
Copy link
Collaborator

Summary

  • Replace forbidden non-null assertions (!) with nullish coalescing (?? '') in realunit-quote-detail.screen.tsx and realunit-transaction-detail.screen.tsx
  • Fixes the widget build failure caused by @typescript-eslint/no-non-null-assertion ESLint rule

Test plan

  • npm run lint passes
  • npm run test passes (276 tests)
  • npm run build:dev passes
  • npm run widget:dev passes

Replace forbidden non-null assertions (!) with nullish coalescing (?? '')
in RealUnit detail screens to fix widget build ESLint errors.
@TaprootFreak TaprootFreak marked this pull request as ready for review February 18, 2026 14:40
@TaprootFreak TaprootFreak merged commit 67a5a20 into develop Feb 18, 2026
6 checks passed
@TaprootFreak TaprootFreak deleted the fix/remove-non-null-assertions branch February 18, 2026 14:45
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.

1 participant