Skip to content
#

magento2

Here are 2,300 public repositories matching this topic...

magento2
vue-storefront
Fifciu
Fifciu commented Jun 22, 2021

Currently, catch block is the same for both methods in useForgotPasswordFactory (https://github.com/vuestorefront/vue-storefront/pull/5971/files/0e001721be751b0b0130915023ea0867722e1065#diff-89077440c1264480ee6ffbbcfb08d6c64c9881bea61ebbd8e0e5d260085b66ad):

err.message = err?.graphQLErrors?.[0]?.message || err.message;

Let's create an external function that takes care of that a

React Storefront - PWA for eCommerce. 100% offline, platform agnostic, headless, Magento 2 supported. Always Open Source, Apache-2.0 license. Join us as contributor (contributors@reactstorefront.io).

  • Updated Sep 1, 2021
  • JavaScript

Improve this page

Add a description, image, and links to the magento2 topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the magento2 topic, visit your repo's landing page and select "manage topics."

Learn more