'use client' import { Dispatch, SetStateAction } from 'react' import styles from './InputToken.module.css' import { CaretDownIcon } from '@radix-ui/react-icons' import { TokenSymbol } from '@/types' import { useSWRConfig } from 'swr' export function InputToken({ token, setToken, isFiat }: { token: TokenSymbol | string isFiat?: boolean setToken?: Dispatch> }) { const { mutate } = useSWRConfig() return ( {setToken ? : null} ) }