1
0
Fork 0

chore: fixed linter warnings

This commit is contained in:
Joost De Cock 2022-02-13 16:10:51 +01:00
parent 89a489bb9f
commit 4da86eb643
6 changed files with 8 additions and 12 deletions

View file

@ -7,7 +7,7 @@ const XrayPart = props => {
// Don't bother if this is the only part on display
if (props.gist.only && props.gist.only.length === 1) return null
const i = props.gist.xray?.reveal
? Object.keys(props.gist.xray?.reveal).indexOf(props.partName)%10
? Object.keys(props.gist.xray.reveal).indexOf(props.partName)%10
: 0
const { topLeft, bottomRight } = props.part

View file

@ -1,6 +1,6 @@
import { linkClasses, Chevron } from 'shared/components/navigation/primary.js'
import { Chevron } from 'shared/components/navigation/primary.js'
import Option from './option'
import { Li, Ul, Details, Summary, SumButton, SumDiv, Deg } from 'shared/components/workbench/menu'
import { Li, Ul, Details, Summary, SumDiv, Deg } from 'shared/components/workbench/menu'
import { useTranslation } from 'next-i18next'
const OptionSubGroup = props => {

View file

@ -1,5 +1,5 @@
import { linkClasses } from 'shared/components/navigation/primary.js'
import { Li, Ul, Details, Summary, Deg } from 'shared/components/workbench/menu'
import { Li } from 'shared/components/workbench/menu'
import { useTranslation } from 'next-i18next'
const SumButton = props => (