From 1b2333eda80153517f633730d25762ca257f841e Mon Sep 17 00:00:00 2001 From: Erik Godding Boye Date: Sun, 19 Jan 2025 21:06:08 +0000 Subject: [PATCH] ci(lint): fix react/no-unknown-property eslint violations --- eslint.config.mjs | 1 - ui/components/DagGraph.tsx | 1 - ui/components/DirectedGraph.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 3f89d13eef..774b5b42ab 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -45,7 +45,6 @@ export default tseslint.config([ "react/display-name": 0, "react/no-children-prop": 0, - "react/no-unknown-property": 0, "react/prop-types": 0, "react-hooks/exhaustive-deps": 0, "react-hooks/rules-of-hooks": 0, diff --git a/ui/components/DagGraph.tsx b/ui/components/DagGraph.tsx index adddf7e9f8..354c2df8e2 100644 --- a/ui/components/DagGraph.tsx +++ b/ui/components/DagGraph.tsx @@ -153,7 +153,6 @@ function DagGraph({ className, nodes }: Props) { height={nodeSize.height} key={index} transform={`translate(${d.x - nodeSize.width / 2}, ${d.y})`} - fill="white" strokeWidth={2} stroke={"#737373"} overflow="visible" diff --git a/ui/components/DirectedGraph.tsx b/ui/components/DirectedGraph.tsx index 7c0e262ea3..22b6d7dd4c 100644 --- a/ui/components/DirectedGraph.tsx +++ b/ui/components/DirectedGraph.tsx @@ -74,7 +74,6 @@ function DirectedGraph({ height={nodeSize.height} key={index} transform={`translate(${d.x - nodeSize.width / 2}, ${d.y})`} - fill="white" strokeWidth={2} stroke={"#737373"} overflow="visible"