Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Oct 26, 2023
2 parents 3e70af9 + eb00978 commit 0c25bd9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions apps/cowswap-frontend/src/legacy/state/cowToken/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ export const cowTokenMiddleware: Middleware<Record<string, unknown>, AppState> =
const { chainId, hash } = action.payload
const transaction = store.getState().transactions[chainId][hash]

const { userDarkMode, matchesDarkMode } = store.getState().user
const isDarkMode = userDarkMode === null ? matchesDarkMode : userDarkMode
// const { userDarkMode, matchesDarkMode } = store.getState().user
// const isDarkMode = userDarkMode === null ? matchesDarkMode : userDarkMode
const isDarkMode = true // TODO: revert after halloween

if (transaction.swapVCow || transaction.swapLockedGNOvCow) {
const status = transaction.receipt?.status
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ export const soundMiddleware: Middleware<Record<string, unknown>, AppState> = (s
}
}

const { userDarkMode, matchesDarkMode } = store.getState().user
const isDarkMode = userDarkMode === null ? matchesDarkMode : userDarkMode
// const { userDarkMode, matchesDarkMode } = store.getState().user
// const isDarkMode = userDarkMode === null ? matchesDarkMode : userDarkMode
const isDarkMode = true // TODO: revert after halloween

let cowSound
let showLighningEffect = false
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cowswap",
"version": "1.48.8",
"version": "1.48.9",
"description": "CoW Swap",
"main": "index.js",
"author": "",
Expand Down

0 comments on commit 0c25bd9

Please sign in to comment.