File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/template-retail-react-app/app Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ export const AuthModal = ({
106106 await authorizePasswordlessLogin . mutateAsync ( { userid : email } )
107107 setCurrentView ( EMAIL_VIEW )
108108 } catch ( error ) {
109- const message = / e r r o r g e t t i n g u s e r i n f o / i. test ( error . message )
109+ const message = / u s e r n o t f o u n d / i. test ( error . message )
110110 ? formatMessage ( CREATE_ACCOUNT_FIRST_ERROR_MESSAGE )
111111 : PASSWORDLESS_ERROR_MESSAGES . some ( ( msg ) => msg . test ( error . message ) )
112112 ? formatMessage ( FEATURE_UNAVAILABLE_ERROR_MESSAGE )
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ const Login = ({initialView = LOGIN_VIEW}) => {
111111 await authorizePasswordlessLogin . mutateAsync ( { userid : email } )
112112 setCurrentView ( EMAIL_VIEW )
113113 } catch ( error ) {
114- const message = / e r r o r g e t t i n g u s e r i n f o / i. test ( error . message )
114+ const message = / u s e r n o t f o u n d / i. test ( error . message )
115115 ? formatMessage ( CREATE_ACCOUNT_FIRST_ERROR_MESSAGE )
116116 : PASSWORDLESS_ERROR_MESSAGES . some ( ( msg ) => msg . test ( error . message ) )
117117 ? formatMessage ( FEATURE_UNAVAILABLE_ERROR_MESSAGE )
You can’t perform that action at this time.
0 commit comments