Skip to content

Commit

Permalink
fix: merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
janrembold committed May 6, 2024
1 parent 312ba91 commit 5afdbfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react';
import { AgencyDataInterface } from '../../../../../globalState/interfaces';
import { InfoTooltip } from '../../../../../components/infoTooltip/InfoTooltip';
import { AgencyLanguages } from '../../../../../components/agencySelection/AgencyLanguages';
import { RadioButton } from '../../../../../components/radioButton/RadioButton';
import { AgencyLanguages } from '../../../../../components/agencyRadioSelect/AgencyLanguages';

interface AgencySelectionFormFieldProps {
onChange: (value: number) => void;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
} from '../../../../../globalState/interfaces';
import { PinIcon } from '../../../../../resources/img/icons';
import { VALID_POSTCODE_LENGTH } from '../../../../../components/agencySelection/agencySelectionHelpers';
import { PreselectedAgency } from '../../../../../containers/registration/components/PreSelectedAgency/PreselectedAgency';
import { Loading } from '../../../../../components/app/Loading';
import { InputField } from '../../../../../components/inputField/InputField';
import { Text } from '../../../../../components/text/Text';
Expand All @@ -17,6 +16,7 @@ import { NoAgencyFound } from '../NoAgencyFound';
import './agencySelection.styles.scss';
import { useTranslation } from 'react-i18next';
import { setValueInCookie } from '../../../../../components/sessionCookie/accessSessionCookie';
import { AgencyRadioSelect } from '../../../../../components/agencyRadioSelect/AgencyRadioSelect';

interface AgencySelectionFormFieldProps {
preselectedAgencies?: AgencyDataInterface[];
Expand Down Expand Up @@ -250,9 +250,11 @@ export const AgencySelection = ({
)}

{preselectedAgencies.length === 1 && (
<PreselectedAgency
<AgencyRadioSelect
agency={preselectedAgencies[0]}
checkedValue={preselectedAgencies[0].id.toString()}
prefix={translate('registration.agency.preselected.prefix')}
agencyData={preselectedAgencies[0]}
// showTooltipAbove={props.isProfileView}
/>
)}
</div>
Expand Down

0 comments on commit 5afdbfc

Please sign in to comment.