mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
♻️ Rename actions for better semantics
This commit is contained in:
parent
da96c084ab
commit
1e26852aa1
3 changed files with 14 additions and 14 deletions
|
@ -150,7 +150,7 @@ export const persist = function* () {
|
|||
*
|
||||
* @return {Action} The action.
|
||||
*/
|
||||
export const connectToSandbox = function* () {
|
||||
export const sandboxOnboardingUrl = function* () {
|
||||
return yield {
|
||||
type: ACTION_TYPES.DO_GENERATE_ONBOARDING_URL,
|
||||
environment: 'sandbox',
|
||||
|
@ -164,7 +164,7 @@ export const connectToSandbox = function* () {
|
|||
* @param {string[]} products Which products/features to display in the ISU popup.
|
||||
* @return {Action} The action.
|
||||
*/
|
||||
export const connectToProduction = function* ( products = [] ) {
|
||||
export const productionOnboardingUrl = function* ( products = [] ) {
|
||||
return yield {
|
||||
type: ACTION_TYPES.DO_GENERATE_ONBOARDING_URL,
|
||||
environment: 'production',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue