Skip to content

Commit 3b5c25b

Browse files
authored
[ react-v2.1.10-alpha.4]: fix - Build error with React package (#1075)
* fix/react-shim * fix/react-shim
1 parent 58b3e13 commit 3b5c25b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/react",
3-
"version": "2.2.0-alpha.1",
3+
"version": "2.2.0-alpha.2",
44
"description": "Collection of React Hooks for web3-onboard",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",

packages/react/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useState, useCallback } from 'react'
2-
import { useSyncExternalStore } from 'use-sync-external-store/shim'
2+
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js'
33

44
import Web3Onboard from '@web3-onboard/core'
55
import type {

0 commit comments

Comments
 (0)