import EvStationIcon from '@mui/icons-material/EvStation'; import { useTranslation } from 'react-i18next'; import { Tab, Tabs } from '../../components/Tabs'; import { useSettingMonitor } from '../../hooks'; import { useSettings, useSettingsStore } from '../../stores'; import { BadgedValue, SettingCardExpandable } from './SettingsCard'; export const GasPriceSettings: React.FC = () => { const { t } = useTranslation(); const setValue = useSettingsStore((state) => state.setValue); const { isGasPriceChanged } = useSettingMonitor(); const { gasPrice } = useSettings(['gasPrice']); const handleGasPriceChange = (_: React.SyntheticEvent, gasPrice: string) => { setValue('gasPrice', gasPrice); }; return ( {t(`settings.gasPrice.${gasPrice}` as any)} } icon={} title={t(`settings.gasPrice.title`)} > ); };