1
0
Fork 0

lint fixes for react-components

This commit is contained in:
Enoch Riese 2023-06-07 10:06:30 -05:00
parent f27aacc152
commit 3503d97fae
18 changed files with 38 additions and 9 deletions

View file

@ -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