diff --git a/front/package.json b/front/package.json index 733e752..c8b911a 100644 --- a/front/package.json +++ b/front/package.json @@ -18,8 +18,8 @@ }, "dependencies": { "@massalabs/massa-web3": "^5.0.0", - "@massalabs/react-ui-kit": "^0.1.1-dev", "@massalabs/wallet-provider": "^3.0.0", + "@massalabs/react-ui-kit": "^0.1.1-dev", "copy-to-clipboard": "^3.3.3", "currency.js": "^2.0.4", "delay": "^6.0.0", @@ -65,5 +65,9 @@ "typescript": "^5.2.2", "vite": "^5.1.7", "vite-plugin-image-optimizer": "^1.1.8" + }, + "overrides": { + "@massalabs/massa-web3": "^5.0.0", + "@massalabs/wallet-provider": "^3.0.0" } } diff --git a/front/src/hooks/useAccountSync.tsx b/front/src/hooks/useAccountSync.tsx index 541c992..45ce2d1 100644 --- a/front/src/hooks/useAccountSync.tsx +++ b/front/src/hooks/useAccountSync.tsx @@ -1,7 +1,7 @@ import { useCallback, useEffect, useRef } from 'react'; import { useAccountStore } from '@massalabs/react-ui-kit/src/lib/ConnectMassaWallets'; import { useLocalStorage } from '@massalabs/react-ui-kit/src/lib/util/hooks/useLocalStorage'; -import { getWallets } from '../../../../wallet-provider'; +import { getWallets } from '@massalabs/wallet-provider'; type SavedAccount = { address: string;