Skip to content

Commit 425e161

Browse files
committed
Solved comment
1 parent 9dda9d7 commit 425e161

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/utils/index.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,8 @@ export const flags = {
111111
export const uiConfig = (onSignInSuccessHandler, onSignInFailHandler) => {
112112
return {
113113
callbacks: {
114-
signInSuccessWithAuthResult: (authResult) => {
115-
onSignInSuccessHandler(authResult);
116-
},
117-
signInFailure: (signInEror) => {
118-
onSignInFailHandler(signInEror);
119-
},
114+
signInSuccessWithAuthResult: onSignInSuccessHandler,
115+
signInFailure: onSignInFailHandler,
120116
},
121117
signInFlow: 'popup',
122118
signInSuccessUrl: '/home',

0 commit comments

Comments
 (0)