Skip to content

Commit

Permalink
test: run examples for version 5.3.1-alpha.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyiming0803 committed Oct 25, 2023
1 parent 0d16011 commit 5c1dcfa
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 51 deletions.
98 changes: 49 additions & 49 deletions examples/guard-nextjs-react18/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-nextjs-react18/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint:fix": "next lint --fix"
},
"dependencies": {
"@authing/guard-react18": "^5.3.0-alpha.6",
"@authing/guard-react18": "^5.3.1-alpha.0",
"@types/node": "18.11.9",
"@types/react": "18.0.24",
"@types/react-dom": "18.0.8",
Expand Down
2 changes: 1 addition & 1 deletion examples/guard-nextjs-react18/pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function Login() {
const guard = new Guard(guardOptions)

const guardEffects = async () => {
guard.start('#authing-guard-container').then(userInfo => {
guard.start(document.querySelector('#authing-guard-container') as HTMLElement).then(userInfo => {
console.log('start userInfo: ', userInfo)
})

Expand Down

0 comments on commit 5c1dcfa

Please sign in to comment.