Skip to content

Commit

Permalink
remove obsolete non-null assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Jan 13, 2025
1 parent 5c8905e commit 4712361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-router/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ export class Router<
if (typeof document !== 'undefined') {
;(window as any).__TSR__ROUTER__ = this
this.streamedKeys = new Set<string>(
Object.keys(window!.__TSR__?.streamedValues || {}),
Object.keys(window.__TSR__?.streamedValues || {}),
)
}

Expand Down

0 comments on commit 4712361

Please sign in to comment.