Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit866d174

Browse files
authored
Merge pull request#137 from jasonLaster/update-next-app
Update next app
2 parents20dab45 +8bafb25 commit866d174

File tree

3 files changed

+1168
-3208
lines changed

3 files changed

+1168
-3208
lines changed

‎examples/useauth-create-next-app/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
},
1010
"dependencies": {
1111
"auth0-js":"^9.13.2",
12-
"next":"9.3.2",
12+
"next":"10.0.3",
1313
"react":"16.10.2",
1414
"react-dom":"16.10.2",
1515
"react-use-auth":"2.0.2",
1616
"rebass":"^4.0.6"
1717
}
18-
}
18+
}
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import{AuthConfig}from"react-use-auth";
32
import{Auth0}from"react-use-auth/auth0";
43
import{useRouter}from"next/router";
@@ -9,15 +8,17 @@ function MyApp({ Component, pageProps }) {
98
<>
109
<AuthConfig
1110
authProvider={Auth0}
12-
navigate={(url)=>router.push(url)}
11+
navigate={url=>router.push(url)}
1312
params={{
14-
domain:"webreplay.us.auth0.com",
15-
clientID:"E1B33wDDkz0J4mUC2WAVA2552Fj91uux"
13+
auth0_domain:"useauth.auth0.com",
14+
auth0_client_id:"GjWNFNOHq1ino7lQNJBwEywa1aYtbIzh"
15+
1616
}}
1717
/>
1818
<Component{...pageProps}/>
1919
</>
2020
);
2121
}
2222

23-
exportdefaultMyApp
23+
24+
exportdefaultMyApp

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp