Skip to content

Commit

Permalink
refactor: clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
namgold committed Jul 21, 2023
1 parent 4f1196b commit 49cd324
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/constants/connectors/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const getIsMetaMaskWallet = () =>
export const getIsCoinbaseWallet = () =>
Boolean(
(window.ethereum?.isCoinbaseWallet || window.ethereum?.providers?.some(p => p?.isCoinbaseWallet)) &&
!window.ethereum.isKrystalWallet,
!window.ethereum?.isKrystalWallet,
)

export const getIsBraveWallet = () => Boolean(checkForBraveBrowser() && window.ethereum?.isBraveWallet)
Expand Down
1 change: 0 additions & 1 deletion src/pages/KyberDAO/KNCUtility/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export const Row = styled.div<{ $background?: string }>`

export const TableHeader = styled(Row)`
border-top: none;
background: linear-gradient(0deg, #134134 0%, #0f221e 100%);
background: linear-gradient(
0deg,
${({ theme }) => transparentize(0.5, theme.primary)} 0%,
Expand Down

0 comments on commit 49cd324

Please sign in to comment.