Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Nov 7, 2023
1 parent 374a2b6 commit 921c87d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
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.57",
"version": "3.0.58",
"main": "./dist/index.js",
"types": "./dist/index.d.js",
"files": [
Expand Down
7 changes: 7 additions & 0 deletions src/contexts/useUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ const UI = createContext<TUIContext>({
onLoadDone: NProgress.done
});

export function onLoadStart(): void {
NProgress.start();
}
export function onLoadDone(): void {
NProgress.done();
}

export const UIContextApp = ({children, options = defaultOptions}: {
children: ReactElement,
options?: TUIOptions
Expand Down

0 comments on commit 921c87d

Please sign in to comment.