chore: Linter fixes
This commit is contained in:
parent
b1429a3704
commit
ef5e792d6b
40 changed files with 93 additions and 99 deletions
|
@ -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 }
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue