Fix linting
This commit is contained in:
parent
1574fec7f0
commit
d550f1c58c
1 changed files with 2 additions and 2 deletions
|
|
@ -303,8 +303,8 @@ const GraphControl = ({ disableHoverEffect }: { disableHoverEffect?: boolean })
|
||||||
if (!disableHoverEffect) {
|
if (!disableHoverEffect) {
|
||||||
const _focusedNode = focusedNode || selectedNode
|
const _focusedNode = focusedNode || selectedNode
|
||||||
// Choose edge highlight color based on theme
|
// Choose edge highlight color based on theme
|
||||||
const edgeHighlightColor = isDarkTheme
|
const edgeHighlightColor = isDarkTheme
|
||||||
? Constants.edgeColorHighlightedDarkTheme
|
? Constants.edgeColorHighlightedDarkTheme
|
||||||
: Constants.edgeColorHighlightedLightTheme
|
: Constants.edgeColorHighlightedLightTheme
|
||||||
|
|
||||||
if (_focusedNode && graph.hasNode(_focusedNode)) {
|
if (_focusedNode && graph.hasNode(_focusedNode)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue