Skip to content

Commit

Permalink
turn off diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
brucedonovan committed Dec 10, 2021
1 parent d146390 commit 64ff639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contexts/SettingsContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const initState: ISettingsContextState = {
slippageTolerance: (JSON.parse(localStorage.getItem('slippageTolerance')!) as number) || (0.005 as number),

/* Show diagnostic messages in the console */
diagnostics: (JSON.parse(localStorage.getItem('diagnostics')!) as boolean) || (true as boolean),
diagnostics: (JSON.parse(localStorage.getItem('diagnostics')!) as boolean) || (false as boolean),

/* Color theme */
darkMode: (JSON.parse(localStorage.getItem('darkMode')!) as boolean) || (false as boolean),
Expand All @@ -30,7 +30,7 @@ const initState: ISettingsContextState = {
powerUser: (JSON.parse(localStorage.getItem('powerUser')!) as boolean) || (false as boolean),

/* Always force transctions to the chain -> even if they will likely fail */
forceTransactions: (JSON.parse(localStorage.getItem('forceTransactions')!) as boolean) || (true as boolean),
forceTransactions: (JSON.parse(localStorage.getItem('forceTransactions')!) as boolean) || (false as boolean),

/* Show wrapped tokens */
showWrappedTokens: (JSON.parse(localStorage.getItem('showWrappedTokens')!) as boolean) || (false as boolean),
Expand Down

0 comments on commit 64ff639

Please sign in to comment.