Skip to content

Commit

Permalink
chore(docs): specify both loader and action option for in the login f…
Browse files Browse the repository at this point in the history
…unction comment
  • Loading branch information
liady committed Jan 16, 2025
1 parent 6bc6068 commit 331ccae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hydrogen/src/customer/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export type LogoutOptions = {
};

export type CustomerAccount = {
/** Start the OAuth login flow. This function should be called and returned from a Remix action.
/** Start the OAuth login flow. This function should be called and returned from a Remix loader or an action.
* It redirects the customer to a Shopify login domain. It also defined the final path the customer
* lands on at the end of the oAuth flow with the value of the `return_to` query param. (This is
* automatically setup unless `customAuthStatusHandler` option is in use)
Expand Down

0 comments on commit 331ccae

Please sign in to comment.