Skip to content

Commit cf425ce

Browse files
author
manasa
committed
updated
1 parent 4255749 commit cf425ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-sdk-components/src/components/template/DataReference/utils.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// import { isSelfReferencedProperty } from '../../RepeatingStructures/lib/Utils';
21
const 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
5250
export const getFirstChildConfig = ({
5351
firstChildMeta,
5452
getPConnect,

packages/react-sdk-components/src/hooks/useIsMount.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ import { useRef, useEffect } from 'react';
22

33
export default function useIsMount() {
44
const isMountRef = useRef(true);
5+
56
useEffect(() => {
67
isMountRef.current = false;
78
}, []);
9+
810
return isMountRef.current;
911
}

0 commit comments

Comments
 (0)