From 6e4ad867b9af8bd5760d70a5643d70bab649a4a7 Mon Sep 17 00:00:00 2001 From: eirikhaugstulen Date: Mon, 16 Oct 2023 10:09:26 +0200 Subject: [PATCH] chore: clean up comments --- .../RegisterTei/RegisterTei.container.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core_modules/capture-core/components/Pages/common/TEIRelationshipsWidget/RegisterTei/RegisterTei.container.js b/src/core_modules/capture-core/components/Pages/common/TEIRelationshipsWidget/RegisterTei/RegisterTei.container.js index 1cbdf150b8..773d0c2778 100644 --- a/src/core_modules/capture-core/components/Pages/common/TEIRelationshipsWidget/RegisterTei/RegisterTei.container.js +++ b/src/core_modules/capture-core/components/Pages/common/TEIRelationshipsWidget/RegisterTei/RegisterTei.container.js @@ -3,7 +3,7 @@ import React from 'react'; import { useSelector } from 'react-redux'; import { RegisterTeiComponent } from './RegisterTei.component'; import type { ContainerProps } from './RegisterTei.types'; -import { useScopeInfo } from '../../../../../hooks/useScopeInfo'; +import { useScopeInfo } from '../../../../../hooks'; export const RegisterTei = ({ onLink, @@ -13,7 +13,6 @@ export const RegisterTei = ({ suggestedProgramId, }: ContainerProps) => { const dataEntryId = 'relationship'; - // const itemId = useSelector(({ dataEntries }) => dataEntries[dataEntryId]?.itemId); const error = useSelector(({ newRelationshipRegisterTei }) => (newRelationshipRegisterTei.error)); const selectedScopeId = suggestedProgramId || trackedEntityTypeId; const { trackedEntityName } = useScopeInfo(selectedScopeId);