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