chore: Linter warnings
This commit is contained in:
parent
347d666ce7
commit
a68f81ec73
22 changed files with 241 additions and 27 deletions
|
@ -6,7 +6,9 @@ import { getProps } from '../utils'
|
|||
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 = Object.keys(props.gist.xray?.reveal).indexOf(props.partName)%10
|
||||
const i = props.gist.xray?.reveal
|
||||
? Object.keys(props.gist.xray?.reveal).indexOf(props.partName)%10
|
||||
: 0
|
||||
const { topLeft, bottomRight } = props.part
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue