Skip to content

Commit

Permalink
fix: remove box shadow from swap input
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Dec 9, 2022
1 parent c31cc6e commit a93b64b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/widget/src/components/Header/WalletHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
ContentCopy as ContentCopyIcon,
ExpandMore as ExpandMoreIcon,
PowerSettingsNewRounded as PowerSettingsIcon,
WalletOutlined as WalletOutlinedIcon
WalletOutlined as WalletOutlinedIcon,
} from '@mui/icons-material';
import { Avatar, MenuItem } from '@mui/material';
import { useState } from 'react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const FormControl = styled(MuiFormControl)(({ theme }) => ({
export const Input = styled(InputBase)(({ theme }) => ({
fontSize: 24,
fontWeight: 700,
boxShadow: 'none',
// padding: theme.spacing(2, 2, 2, 0),
[`.${inputBaseClasses.input}`]: {
height: 32,
Expand Down
4 changes: 2 additions & 2 deletions packages/widget/src/hooks/useRouteExecution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
isRouteActive,
isRouteDone,
isRouteFailed,
useRouteExecutionStore
useRouteExecutionStore,
} from '../stores';
import { WidgetEvent } from '../types/events';
import { deepClone } from '../utils';
Expand Down Expand Up @@ -104,7 +104,7 @@ export const useRouteExecution = ({
if (!routeExecution?.route) {
throw Error('Execution route not found.');
}
queryClient.removeQueries(['routes'])
queryClient.removeQueries(['routes']);
return lifi.executeRoute(account.signer, routeExecution.route, {
updateCallback,
switchChainHook,
Expand Down

0 comments on commit a93b64b

Please sign in to comment.