Switch variables round in mustContain error (https://github.com/woocommerce/woocommerce-blocks/pull/5155)
This is because the error messaged printed to the user was incorrect.
This commit is contained in:
parent
bbaa4d8798
commit
c35819272d
|
@ -18,8 +18,8 @@ export const mustContain = (
|
|||
'Returned value must include %1$s, you passed "%2$s"',
|
||||
'woo-gutenberg-products-block'
|
||||
),
|
||||
value,
|
||||
requiredValue
|
||||
requiredValue,
|
||||
value
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue