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) => {
187187 data-testid = { 'data-key-pair' + path . join ( '.' ) }
188188 sx = { { userSelect : 'text' } }
189189 onMouseEnter = {
190- useCallback ( ( ) => setHover ( { path, nestedIndex } ) ,
191- [ setHover , path , nestedIndex ] )
190+ useCallback ( ( ) => {
191+ setHover ( { path, nestedIndex } )
192+ } , [ setHover , path , nestedIndex ] )
192193 }
193194 >
194195 < DataBox
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export const PreObjectType: FC<DataItemProps<object>> = (props) => {
4343 } = useAtomValue ( colorspaceAtom )
4444 const isArray = useMemo ( ( ) => Array . isArray ( props . value ) , [ props . value ] )
4545 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 ] )
4747 const displayObjectSize = useAtomValue ( displayObjectSizeAtom )
4848 const isTrap = useIsCycleReference ( props . path , props . value )
4949 return (
You can’t perform that action at this time.
0 commit comments