Skip to content

Commit

Permalink
Upgrade useDApp version (#210)
Browse files Browse the repository at this point in the history
* Init

* Bump useDApp version

* Update config and ens hook

* Add ethers package

* Restore previous infura url

* Remove import
  • Loading branch information
jakvbs authored Sep 25, 2022
1 parent a70ae0e commit c432de4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion handlebars/react/packages/react-app/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
"@types/react": "^17.0.40",
"@usedapp/core": "^0.12.1",
"@usedapp/core": "^1.1.5",
"ethers": "^5.7.0",
"graphql": "^16.3.0",
"ipfs-deploy": "^11.2.0",
"react": "17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion handlebars/react/packages/react-app/src/App.js.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import logo from "./ethereumLogo.png";
function WalletButton() {
const [rendered, setRendered] = useState("");

const ens = useLookupAddress();
const { ens } = useLookupAddress();
const { account, activateBrowserWallet, deactivate, error } = useEthers();

useEffect(() => {
Expand Down

0 comments on commit c432de4

Please sign in to comment.