Skip to content

Commit e9cdc93

Browse files
author
sw-yx
committed
yay it works
1 parent 5b55b0a commit e9cdc93

File tree

3 files changed

+295
-223
lines changed

3 files changed

+295
-223
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"@reach/router": "^1.2.1",
77
"gotrue-js": "^0.9.22",
88
"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"
1313
},
1414
"scripts": {
1515
"start": "run-p start:**",
@@ -34,7 +34,7 @@
3434
"@babel/plugin-transform-object-assign": "^7.0.0",
3535
"babel-loader": "^8.0.4",
3636
"http-proxy-middleware": "^0.19.0",
37-
"netlify-lambda": "^1.1.0",
37+
"netlify-lambda": "^1.2.0",
3838
"npm-run-all": "^4.1.5"
3939
}
4040
}

src/App.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,14 @@ function App() {
168168
const [url, setUrl] = React.useState(window.location.origin);
169169
const handler = e => setUrl(e.target.value);
170170
const identity = useNetlifyIdentity(url);
171+
console.log({ identity, url });
171172
return (
172173
<IdentityContext.Provider value={identity}>
173174
<div className="App">
174175
<div className="Appheader">
175176
<h1 className="title">
176177
<span>Netlify Identity</span>
177-
<span class="italic">&</span> <span>Reach Router</span>
178+
<span className="italic">&</span> <span>Reach Router</span>
178179
</h1>
179180
<label>
180181
<a href="https://www.netlify.com/docs/identity/">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy