Skip to content

Commit

Permalink
unwrapTokens=false
Browse files Browse the repository at this point in the history
  • Loading branch information
brucedonovan committed Nov 23, 2021
1 parent 7b5d81b commit 0be72e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/contexts/SettingsContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const initState: ISettingsContextState = {
/* Show wrapped tokens */
showWrappedTokens: (JSON.parse(localStorage.getItem('showWrappedTokens')!) as boolean) || (false as boolean),
/* Always Unwrap tokens when removing them */
unwrapTokens: (JSON.parse(localStorage.getItem('unwrapTokens')!) as boolean) || (true as boolean),
unwrapTokens: (JSON.parse(localStorage.getItem('unwrapTokens')!) as boolean) || (false as boolean),

/* Dashboard settings */
dashHideEmptyVaults: (JSON.parse(localStorage.getItem('dashHideEmptyVaults')!) as boolean) || false,
Expand Down
1 change: 0 additions & 1 deletion src/hooks/actionHooks/useWrapUnwrapAsset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export const useWrapUnwrapAsset = () => {

if (unwrapTokens && asset.wrapHandlerAddress ) {
diagnostics && console.log('Unwrapping tokens before return');

const wraphandlerContract: Contract = new Contract(
asset.wrapHandlerAddress,
wrapHandlerAbi,
Expand Down

0 comments on commit 0be72e5

Please sign in to comment.