Skip to content

Commit

Permalink
Merge pull request #203 from Authing/test-login-error
Browse files Browse the repository at this point in the history
fix login error callback, upgrade react ui components to 4.3.11
  • Loading branch information
zhaoyiming0803 committed Mar 30, 2023
2 parents 7660e21 + 77e7cc3 commit 856bd58
Show file tree
Hide file tree
Showing 22 changed files with 193 additions and 195 deletions.
106 changes: 53 additions & 53 deletions examples/guard-react/normal/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/guard-react/normal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"webpack-merge": "^4.2.1"
},
"dependencies": {
"@authing/guard-react": "^5.1.6-alpha.2",
"@authing/guard-react": "^5.1.7-alpha.3",
"face-api.js": "^0.22.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
Expand Down
46 changes: 23 additions & 23 deletions examples/guard-react18/normal/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/guard-react18/normal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"webpack-merge": "^4.2.1"
},
"dependencies": {
"@authing/guard-react18": "^5.1.6-alpha.2",
"@authing/guard-react18": "^5.1.7-alpha.3",
"antd": "^4.24.0",
"face-api.js": "^0.22.2",
"react": "^18.2.0",
Expand Down
4 changes: 4 additions & 0 deletions examples/guard-react18/normal/src/pages/Embed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ export default function Embed() {

console.log('guard.getCurrentView: ', guard.getCurrentView())
})

guard.on('login-error', error => {
console.log('login error: ', error)
})
}, [])

const changeLang = (event: any) => {
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"packages/*"
],
"useWorkspaces": true,
"version": "5.1.7-alpha.1"
"version": "5.1.7-alpha.3"
}
Loading

0 comments on commit 856bd58

Please sign in to comment.