File tree Expand file tree Collapse file tree 3 files changed +295
-223
lines changed Expand file tree Collapse file tree 3 files changed +295
-223
lines changed Original file line number Diff line number Diff line change 6
6
"@reach/router" : " ^1.2.1" ,
7
7
"gotrue-js" : " ^0.9.22" ,
8
8
"node-fetch" : " ^2.3.0" ,
9
- "react" : " ^16.7 .0-alpha.2 " ,
10
- "react-dom" : " ^16.7 .0-alpha.2 " ,
11
- "react-netlify-identity" : " ^0.0.1 " ,
12
- "react-scripts" : " ^2.1.1 "
9
+ "react" : " ^16.8 .0-alpha.0 " ,
10
+ "react-dom" : " ^16.8 .0-alpha.0 " ,
11
+ "react-netlify-identity" : " ^0.0.6 " ,
12
+ "react-scripts" : " ^2.1.3 "
13
13
},
14
14
"scripts" : {
15
15
"start" : " run-p start:**" ,
34
34
"@babel/plugin-transform-object-assign" : " ^7.0.0" ,
35
35
"babel-loader" : " ^8.0.4" ,
36
36
"http-proxy-middleware" : " ^0.19.0" ,
37
- "netlify-lambda" : " ^1.1 .0" ,
37
+ "netlify-lambda" : " ^1.2 .0" ,
38
38
"npm-run-all" : " ^4.1.5"
39
39
}
40
40
}
Original file line number Diff line number Diff line change @@ -168,13 +168,14 @@ function App() {
168
168
const [ url , setUrl ] = React . useState ( window . location . origin ) ;
169
169
const handler = e => setUrl ( e . target . value ) ;
170
170
const identity = useNetlifyIdentity ( url ) ;
171
+ console . log ( { identity, url } ) ;
171
172
return (
172
173
< IdentityContext . Provider value = { identity } >
173
174
< div className = "App" >
174
175
< div className = "Appheader" >
175
176
< h1 className = "title" >
176
177
< span > Netlify Identity</ span >
177
- < span class = "italic" > & </ span > < span > Reach Router</ span >
178
+ < span className = "italic" > & </ span > < span > Reach Router</ span >
178
179
</ h1 >
179
180
< label >
180
181
< a href = "https://www.netlify.com/docs/identity/" >
You can’t perform that action at this time.
0 commit comments