1
0
Fork 0

chore: Linter fixes

This commit is contained in:
Joost De Cock 2022-09-14 15:02:39 +02:00
parent b1429a3704
commit ef5e792d6b
40 changed files with 93 additions and 99 deletions

View file

@ -5,7 +5,7 @@ import Option from './option'
import { Ul, Details, TopSummary, TopSumTitle } from 'shared/components/workbench/menu'
import { useTranslation } from 'next-i18next'
import { optionsMenuStructure } from 'shared/utils.mjs'
import { adult, doll, giant, measurements } from '@freesewing/models'
import { adult, doll, giant } from '@freesewing/models'
const groups = { adult, doll, giant }

View file

@ -1,9 +1,7 @@
import { linkClasses } from 'shared/components/navigation/primary.js'
import { Li, SumButton, SumDiv } from 'shared/components/workbench/menu'
import { useTranslation } from 'next-i18next'
const Option = props => {
const { t } = useTranslation([`o_${props.design.config.data.name}`, 'workbench'])
const active = (
props.sampleSettings?.type === 'option' &&
props.active === props.option