chore: fixed linter warnings
This commit is contained in:
parent
89a489bb9f
commit
4da86eb643
6 changed files with 8 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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 => {
|
||||
|
|
|
@ -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 => (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue