Skip to content

Commit

Permalink
Fix issue with civic-link
Browse files Browse the repository at this point in the history
  • Loading branch information
ndrabins committed Aug 1, 2023
1 parent 1cc5f01 commit 5fca664
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@civic/civic-link",
"version": "0.0.7-beta.1",
"version": "0.0.7-beta.14",
"author": "civic.com",
"repository": "[email protected]:civicteam/civic-link.git",
"license": "MIT",
Expand Down Expand Up @@ -50,7 +50,7 @@
"@types/jest": "^29.5.3",
"@types/jsdom": "^21.1.1",
"@types/ramda": "^0.28.0",
"@types/react": "^18.2.15",
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@vitejs/plugin-react": "^4.0.3",
Expand All @@ -75,8 +75,8 @@
"vite-plugin-dts": "^3.3.1"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"files": [
"dist"
Expand Down
4 changes: 3 additions & 1 deletion src/components/providers/SolanaWalletProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ export function SolanaWalletProvider({
const walletAdapter = await build(
lowLevelWallet,
() => {
(buttonRef.current?.children[0] as HTMLButtonElement).click();
(
buttonRef.current?.children[0].children[0] as HTMLButtonElement
).click();
},
didResolver
);
Expand Down
11 changes: 10 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4045,7 +4045,7 @@
dependencies:
"@types/react" "*"

"@types/react@*", "@types/react@^18.2.15":
"@types/react@*":
version "18.2.15"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.15.tgz#14792b35df676c20ec3cf595b262f8c615a73066"
integrity sha512-oEjE7TQt1fFTFSbf8kkNuc798ahTUzn3Le67/PWjE8MAfYAD/qB7O8hSTcromLFqHCt9bcdOg5GXMokzTjJ5SA==
Expand All @@ -4054,6 +4054,15 @@
"@types/scheduler" "*"
csstype "^3.0.2"

"@types/react@^18.2.18":
version "18.2.18"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.18.tgz#c8b233919eef1bdc294f6f34b37f9727ad677516"
integrity sha512-da4NTSeBv/P34xoZPhtcLkmZuJ+oYaCxHmyHzwaDQo9RQPBeXV+06gEk2FpqEcsX9XrnNLvRpVh6bdavDSjtiQ==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
csstype "^3.0.2"

"@types/scheduler@*":
version "0.16.2"
resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39"
Expand Down

0 comments on commit 5fca664

Please sign in to comment.