Skip to content

Commit

Permalink
build: bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Jan 17, 2024
1 parent c826c86 commit 6410bf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yearn-finance/web-lib",
"version": "3.0.124",
"version": "3.0.125",
"main": "./dist/index.js",
"types": "./dist/index.d.js",
"files": [
Expand Down
4 changes: 3 additions & 1 deletion src/contexts/useYearn.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {createContext, memo, useEffect} from 'react';
import {createContext, memo, useContext, useEffect} from 'react';
import {deserialize, serialize} from 'wagmi';
import useWallet from '@builtbymom/web3/contexts/useWallet';
import {toAddress} from '@builtbymom/web3/utils';
Expand Down Expand Up @@ -132,3 +132,5 @@ export const YearnContextApp = memo(function YearnContextApp({children}: {childr
</YearnContext.Provider>
);
});

export const useYearn = (): TYearnContext => useContext(YearnContext);

0 comments on commit 6410bf8

Please sign in to comment.