Skip to content

Commit c12a27e

Browse files
author
sw-yx
committed
fix the publish
1 parent 45bcd55 commit c12a27e

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

example/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"react": "^16.8.6",
1010
"react-dom": "^16.8.6",
1111
"react-netlify-identity": "^0.1.9",
12-
"react-netlify-identity-widget": "^0.2.1",
12+
"react-netlify-identity-widget": "^0.2.2",
1313
"react-scripts": "^3.0.0"
1414
},
1515
"devDependencies": {

example/src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function App() {
77
const url = process.env.REACT_APP_NETLIFY_IDENTITY_URL // should look something like "https://foo.netlify.com"
88
if (!url)
99
throw new Error(
10-
'process.env.REACT_APP_NETLIFY_IDENTITY_URL is blank, which means you probably forgot to set it in your Netlify environment variables',
10+
'process.env.REACT_APP_NETLIFY_IDENTITY_URL is blank2, which means you probably forgot to set it in your Netlify environment variables',
1111
)
1212
return (
1313
<IdentityContextProvider url={url}>

example/yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -9252,10 +9252,10 @@ react-is@^16.8.1, react-is@^16.8.4:
92529252
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16"
92539253
integrity sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA==
92549254

9255-
react-netlify-identity-widget@^0.2.1:
9256-
version "0.2.1"
9257-
resolved "https://registry.yarnpkg.com/react-netlify-identity-widget/-/react-netlify-identity-widget-0.2.1.tgz#f688a9d7bf4b4d3e8983fad04c0c40d073ba2af3"
9258-
integrity sha512-GCylnq0qWigh44syA3xvMP+1js13qzIgt0dUgePB2+w9GL1u4fvUHcBfxQuXgRrIVYDDSzw0HhE7uIuSmxuEAg==
9255+
react-netlify-identity-widget@^0.2.2:
9256+
version "0.2.2"
9257+
resolved "https://registry.yarnpkg.com/react-netlify-identity-widget/-/react-netlify-identity-widget-0.2.2.tgz#015138f91b3eabee57c50707049ec2c5366b4697"
9258+
integrity sha512-DxGIbFVqX5ICY3rlxRKJyu7a9iGyYYqH9y/RjrkzisB2yRZeLArzszubWP/HT7E/tKGsx8brM7KthQV94vwSrg==
92599259

92609260
react-netlify-identity@^0.1.9:
92619261
version "0.1.9"

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-netlify-identity-widget",
33
"version": "0.2.2",
44
"main": "dist/index.js",
5-
"module": "dist/react-netlify-identity-widget.es.production.js",
5+
"module": "dist/react-netlify-identity-widget.esm.js",
66
"typings": "dist/index.d.ts",
77
"files": [
88
"dist",
@@ -34,8 +34,7 @@
3434
"@reach/dialog": "^0.2.3",
3535
"@reach/tabs": "^0.1.3",
3636
"@reach/visually-hidden": "^0.1.3",
37-
"react": "^15.0.0 || ^16.0.0",
38-
"react-dom": "^15.0.0 || ^16.0.0",
37+
"react": ">=16",
3938
"react-netlify-identity": "^0.1.8"
4039
},
4140
"config": {

src/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ type ModalProps = {
2121
export const IdentityContextProvider = _IdentityContextProvider
2222
export const useIdentityContext = _useIdentityContext
2323
export function IdentityModal({ showDialog, onCloseDialog, ...authprops }: ModalProps) {
24+
console.log({ authprops })
2425
return (
2526
<Dialog
2627
isOpen={showDialog}

0 commit comments

Comments
 (0)