File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/react-sdk-components/src
components/template/DataReference Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1- // import { isSelfReferencedProperty } from '../../RepeatingStructures/lib/Utils';
21const isSelfReferencedProperty = ( param , referenceProp ) => {
32 const [ , parentPropName ] = param . split ( '.' ) ;
43 const referencePropParent = referenceProp ?. split ( '.' ) . pop ( ) ;
@@ -48,7 +47,6 @@ const getCompositeKeys = (pConnect, property) => {
4847 return compositeKeys ;
4948} ;
5049
51- // eslint-disable-next-line import/prefer-default-export
5250export const getFirstChildConfig = ( {
5351 firstChildMeta,
5452 getPConnect,
Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ import { useRef, useEffect } from 'react';
22
33export default function useIsMount ( ) {
44 const isMountRef = useRef ( true ) ;
5+
56 useEffect ( ( ) => {
67 isMountRef . current = false ;
78 } , [ ] ) ;
9+
810 return isMountRef . current ;
911}
You can’t perform that action at this time.
0 commit comments