File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -187,8 +187,9 @@ export const DataKeyPair: FC<DataKeyPairProps> = (props) => {
187
187
data-testid = { 'data-key-pair' + path . join ( '.' ) }
188
188
sx = { { userSelect : 'text' } }
189
189
onMouseEnter = {
190
- useCallback ( ( ) => setHover ( { path, nestedIndex } ) ,
191
- [ setHover , path , nestedIndex ] )
190
+ useCallback ( ( ) => {
191
+ setHover ( { path, nestedIndex } )
192
+ } , [ setHover , path , nestedIndex ] )
192
193
}
193
194
>
194
195
< DataBox
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export const PreObjectType: FC<DataItemProps<object>> = (props) => {
43
43
} = useAtomValue ( colorspaceAtom )
44
44
const isArray = useMemo ( ( ) => Array . isArray ( props . value ) , [ props . value ] )
45
45
const isEmptyValue = useMemo ( ( ) => getValueSize ( props . value ) === 0 , [ props . value ] )
46
- const sizeOfValue = useMemo ( ( ) => inspectMetadata ( props . value ) , [ props . inspect , props . value ] )
46
+ const sizeOfValue = useMemo ( ( ) => inspectMetadata ( props . value ) , [ props . value ] )
47
47
const displayObjectSize = useAtomValue ( displayObjectSizeAtom )
48
48
const isTrap = useIsCycleReference ( props . path , props . value )
49
49
return (
You can’t perform that action at this time.
0 commit comments