From bc239561ff6f42dd8a956ac739a4318182a53423 Mon Sep 17 00:00:00 2001 From: SSSensational Date: Mon, 2 Sep 2024 17:54:18 +0800 Subject: [PATCH] upgrade docs --- dev-examples/docs/package.json | 2 +- dev-examples/docs/src/main.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-examples/docs/package.json b/dev-examples/docs/package.json index 54d495e..e0305c7 100644 --- a/dev-examples/docs/package.json +++ b/dev-examples/docs/package.json @@ -8,7 +8,7 @@ "preview": "vite preview" }, "dependencies": { - "@cfxjs/use-wallet-react": "0.0.1-16", + "@cfxjs/use-wallet-react": "0.0.2-6", "@react-spring/web": "^9.4.5", "clsx": "^1.1.1", "custom-keyboard": "^0.0.0", diff --git a/dev-examples/docs/src/main.tsx b/dev-examples/docs/src/main.tsx index 2775b66..377263c 100644 --- a/dev-examples/docs/src/main.tsx +++ b/dev-examples/docs/src/main.tsx @@ -1,7 +1,7 @@ import ReactDOM from 'react-dom/client'; import Router from '@router/index'; import { completeDetect as completeDetectConflux } from '@cfxjs/use-wallet-react/conflux'; -import { completeDetect as completeDetectEthereum } from '@cfxjs/use-wallet-react/ethereum'; +import { completeDetect as completeDetectEthereum } from '@cfxjs/use-wallet-react/ethereum/Fluent'; import 'custom-react-scrollbar/dist/style.css'; import './index.css';