@@ -2,7 +2,7 @@ import type { ChakraProps } from '@invoke-ai/ui-library';
2
2
import { Box , useGlobalMenuClose } from '@invoke-ai/ui-library' ;
3
3
import { useAppSelector } from 'app/store/storeHooks' ;
4
4
import { useIsWorkflowEditorLocked } from 'features/nodes/hooks/useIsWorkflowEditorLocked' ;
5
- import { useMouseOverFormField , useMouseOverNode } from 'features/nodes/hooks/useMouseOverNode' ;
5
+ import { useMouseOverNode } from 'features/nodes/hooks/useMouseOverNode' ;
6
6
import { useNodeExecutionState } from 'features/nodes/hooks/useNodeExecutionState' ;
7
7
import { useZoomToNode } from 'features/nodes/hooks/useZoomToNode' ;
8
8
import { selectNodeOpacity } from 'features/nodes/store/workflowSettingsSlice' ;
@@ -17,14 +17,11 @@ type NonInvocationNodeWrapperProps = PropsWithChildren & {
17
17
nodeId : string ;
18
18
selected : boolean ;
19
19
width ?: ChakraProps [ 'w' ] ;
20
- isMissingTemplate ?: boolean ;
21
20
} ;
22
21
23
22
const NonInvocationNodeWrapper = ( props : NonInvocationNodeWrapperProps ) => {
24
- const { nodeId, width, children, isMissingTemplate, selected } = props ;
25
- // Skip needsUpdate check since we don't have invocation context
23
+ const { nodeId, width, children, selected } = props ;
26
24
const mouseOverNode = useMouseOverNode ( nodeId ) ;
27
- const mouseOverFormField = useMouseOverFormField ( nodeId ) ;
28
25
const zoomToNode = useZoomToNode ( nodeId ) ;
29
26
const isLocked = useIsWorkflowEditorLocked ( ) ;
30
27
@@ -71,8 +68,6 @@ const NonInvocationNodeWrapper = (props: NonInvocationNodeWrapperProps) => {
71
68
opacity = { opacity }
72
69
data-is-editor-locked = { isLocked }
73
70
data-is-selected = { selected }
74
- data-is-mouse-over-form-field = { mouseOverFormField . isMouseOverFormField }
75
- data-status = { isMissingTemplate ? 'error' : undefined }
76
71
>
77
72
< Box sx = { shadowsSx } />
78
73
< Box sx = { inProgressSx } data-is-in-progress = { isInProgress } />
0 commit comments