Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
blittle committed Oct 17, 2024
1 parent ab31cb0 commit 49a3bd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/hydrogen/src/createHydrogenContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export function createHydrogenContext<
customerAccount,
});

proxyGraphQL(storefront, request as Request, waitUntil);
maybeProxyGraphQL(storefront, request as Request, waitUntil);

return {
storefront,
Expand Down Expand Up @@ -306,7 +306,7 @@ export type HydrogenContextOptionsForDocs<
};
};

function proxyGraphQL<TI18n extends I18nBase>(
function maybeProxyGraphQL<TI18n extends I18nBase>(
storefront: StorefrontClient<TI18n>['storefront'],
request?: Request,
waitUntil?: WaitUntil,
Expand Down

0 comments on commit 49a3bd8

Please sign in to comment.