lint fixes for react-components
This commit is contained in:
parent
f27aacc152
commit
3503d97fae
18 changed files with 38 additions and 9 deletions
|
@ -1,7 +1,8 @@
|
|||
// eslint-disable-next-line no-unused-vars
|
||||
import React from 'react'
|
||||
import { withinPartBounds } from './utils.mjs'
|
||||
|
||||
export const Point = ({ stackName, partName, pointName, part, point, settings, components, t }) => {
|
||||
export const Point = ({ stackName, partName, pointName, part, point, components, t }) => {
|
||||
// Don't include points outside the part bounding box
|
||||
if (!withinPartBounds(point, part)) return null
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue