1
0
Fork 0

lint fixes

This commit is contained in:
Enoch Riese 2023-05-29 23:22:26 -05:00
parent 3841a1695e
commit a8891d6091
8 changed files with 46 additions and 93 deletions

View file

@ -1,6 +1,6 @@
import { formatMm, formatPercentage } from 'shared/utils.mjs'
import { ListValue, HighlightedValue, PlainValue } from '../shared/values'
export const PctOptionValue = ({ name, config, current, settings, changed }) => {
export const PctOptionValue = ({ config, current, settings, changed }) => {
const val = changed ? current : config.pct / 100
return (
@ -11,7 +11,7 @@ export const PctOptionValue = ({ name, config, current, settings, changed }) =>
)
}
export const BoolOptionValue = ({ name, config, current, t, changed }) => (
export const BoolOptionValue = ({ config, current, t, changed }) => (
<ListValue
{...{
current: current === undefined ? current : Number(current),