Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
shoom3301 committed Oct 23, 2023
1 parent c913b78 commit d51a60d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
15 changes: 0 additions & 15 deletions apps/widget-configurator/src/app/app.spec.tsx

This file was deleted.

7 changes: 4 additions & 3 deletions apps/widget-configurator/src/app/configurator/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import ListItemText from '@mui/material/ListItemText'
// import SaveIcon from '@mui/icons-material/Save'
import WalletIcon from '@mui/icons-material/Wallet'
import LoadingButton from '@mui/lab/LoadingButton'
import { SyntheticEvent } from 'react'

enum TradeMode {
Swap = 1,
Expand Down Expand Up @@ -165,7 +166,7 @@ export function Configurator({ title }: { title: string }) {

<Autocomplete
value={network || NetworkOptions[0]}
onChange={(event: any, newValue: { chainID: number; label: string } | null) => {
onChange={(event: SyntheticEvent, newValue: { chainID: number; label: string } | null) => {
setNetwork(newValue || NetworkOptions[0])
}}
getOptionLabel={(option) => option.label}
Expand All @@ -179,7 +180,7 @@ export function Configurator({ title }: { title: string }) {

<Autocomplete
value={sellToken}
onChange={(event: any, newValue: string | null) => {
onChange={(event: SyntheticEvent, newValue: string | null) => {
setSellToken(newValue)
}}
inputValue={sellToken || ''}
Expand All @@ -202,7 +203,7 @@ export function Configurator({ title }: { title: string }) {

<Autocomplete
value={buyToken}
onChange={(event: any, newValue: string | null) => {
onChange={(event: SyntheticEvent, newValue: string | null) => {
setBuyToken(newValue)
}}
inputValue={buyToken || ''}
Expand Down

0 comments on commit d51a60d

Please sign in to comment.