Skip to content

Commit

Permalink
fix: || => ??
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinbao1001 committed Nov 14, 2024
1 parent 915bb22 commit 7ec0cb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/preset-umi/src/features/tmpFiles/tmpFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ declare module '*.txt' {
__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
),
hydrate: !!ssrConfig,
useStream: ssrConfig.useStream || true,
useStream: ssrConfig.useStream ?? true,
reactRouter5Compat: !!api.config.reactRouter5Compat,
loadingComponent: api.appData.globalLoading,
},
Expand Down

0 comments on commit 7ec0cb9

Please sign in to comment.