File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export const AuthProvider = ({ children }: { children: React.ReactNode }) => {
6565 connectTheUser ( token , provider ) . catch ( ( error ) => {
6666 if ( error && error . code === 'auth/account-exists-with-different-credential' ) {
6767 setAuthError ( {
68- message : `You've previously signed up using ${ oppositeProvider } . To continue, please sign in with ${ oppositeProvider } .` ,
68+ message : `This email is already linked to your ${ oppositeProvider } account . To continue, please sign in with ${ oppositeProvider } .` ,
6969 } )
7070 } else if ( error ) {
7171 setAuthError ( {
@@ -115,7 +115,7 @@ export const AuthProvider = ({ children }: { children: React.ReactNode }) => {
115115 connectTheUser ( token , provider ) . catch ( ( error ) => {
116116 if ( error && error . code === 'auth/account-exists-with-different-credential' ) {
117117 setAuthError ( {
118- message : `You've previously signed up using ${ oppositeProvider } . To continue, please sign in with ${ oppositeProvider } .` ,
118+ message : `This email is already linked to your ${ oppositeProvider } account . To continue, please sign in with ${ oppositeProvider } .` ,
119119 } )
120120 } else if ( error ) {
121121 setAuthError ( {
You can’t perform that action at this time.
0 commit comments