Skip to content

Commit

Permalink
chore: clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikhaugstulen committed Oct 16, 2023
1 parent 59bfb38 commit 6e4ad86
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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);
Expand Down

0 comments on commit 6e4ad86

Please sign in to comment.