Skip to content

Commit

Permalink
Strengthen type
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Mar 19, 2024
1 parent 0b4259e commit 2adc5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/remix-react/single-fetch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function singleFetchLoaderStrategy(
request: Request,
matches: DataStrategyFunctionArgs["matches"]
) {
let singleFetchPromise: Promise<SingleFetchResults>;
let singleFetchPromise: Promise<SingleFetchResults> | undefined;
return Promise.all(
matches.map(async (m) =>
m.resolve(async (handler): Promise<HandlerResult> => {
Expand Down

0 comments on commit 2adc5f0

Please sign in to comment.