1
0
Fork 0

chore: Fixed linter warnings

This commit is contained in:
Joost De Cock 2022-03-13 08:48:21 +01:00
parent 67da7dd595
commit 74cf28b871
6 changed files with 6 additions and 19 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._state?.xray?.reveal
? Object.keys(props.gist._state?.xray.reveal).indexOf(props.partName)%10
? Object.keys(props.gist._state.xray.reveal).indexOf(props.partName)%10
: 0
const { topLeft, bottomRight } = props.part