diff --git a/packages/fhir-location-management/src/components/AddEditLocationUnit/base.tsx b/packages/fhir-location-management/src/components/AddEditLocationUnit/base.tsx index 1444ffb99..d6237f565 100644 --- a/packages/fhir-location-management/src/components/AddEditLocationUnit/base.tsx +++ b/packages/fhir-location-management/src/components/AddEditLocationUnit/base.tsx @@ -24,7 +24,7 @@ export interface BaseNewEditLocationUnitProps fhirRootLocationId: string; cancelURLGenerator: () => string; updateLocationFormProps?: (formProps: LocationFormProps) => LocationFormProps; - i18nNamespace?: LocationI18nNamespace + i18nNamespace?: LocationI18nNamespace; } /** @@ -42,7 +42,7 @@ export const BaseNewEditLocationUnit = (props: BaseNewEditLocationUnitProps) => cancelURLGenerator, disabledTreeNodesCallback, updateLocationFormProps, - i18nNamespace + i18nNamespace, } = props; const history = useHistory(); const location = useLocation(); diff --git a/packages/fhir-location-management/src/components/AddEditLocationUnit/eusm.tsx b/packages/fhir-location-management/src/components/AddEditLocationUnit/eusm.tsx index 817275ff9..b4b3b4258 100644 --- a/packages/fhir-location-management/src/components/AddEditLocationUnit/eusm.tsx +++ b/packages/fhir-location-management/src/components/AddEditLocationUnit/eusm.tsx @@ -33,7 +33,7 @@ export const EusmAddEditLocationUnit = (props: EusmAddEditLocationUnitProps) => cancelURLGenerator: () => URL_SERVICE_POINT_LIST, hidden: [isJurisdiction], URL_SERVICE_POINT_LIST, - i18nNamespace: servicePointNamespace + i18nNamespace: servicePointNamespace, }; return ; diff --git a/packages/fhir-location-management/src/components/LocationForm/index.tsx b/packages/fhir-location-management/src/components/LocationForm/index.tsx index 97120f0c7..775084ecf 100644 --- a/packages/fhir-location-management/src/components/LocationForm/index.tsx +++ b/packages/fhir-location-management/src/components/LocationForm/index.tsx @@ -45,7 +45,7 @@ export interface LocationFormProps onCancel: () => void; afterSubmit?: (payload: IfhirR4.ILocation) => void; validationRulesFactory: ValidationFactory; - i18nNamespace?: LocationI18nNamespace + i18nNamespace?: LocationI18nNamespace; } const defaultProps = { @@ -55,7 +55,7 @@ const defaultProps = { disabled: [], onCancel: () => undefined, validationRulesFactory: defaultValidationRulesFactory, - i18nNamespace: namespace + i18nNamespace: namespace, }; /** responsive layout for the form labels and columns */ diff --git a/packages/fhir-location-management/src/helpers/types.ts b/packages/fhir-location-management/src/helpers/types.ts index 6313cbadd..2d2951218 100644 --- a/packages/fhir-location-management/src/helpers/types.ts +++ b/packages/fhir-location-management/src/helpers/types.ts @@ -58,4 +58,4 @@ export enum LocationUnitStatus { SUSPENDED = 'suspended', } -export type LocationI18nNamespace = typeof namespace | typeof servicePointNamespace +export type LocationI18nNamespace = typeof namespace | typeof servicePointNamespace; diff --git a/packages/react-utils/src/components/AsyncSelect/BaseAsyncSelect/index.tsx b/packages/react-utils/src/components/AsyncSelect/BaseAsyncSelect/index.tsx index 8ddb564fb..ce3571724 100644 --- a/packages/react-utils/src/components/AsyncSelect/BaseAsyncSelect/index.tsx +++ b/packages/react-utils/src/components/AsyncSelect/BaseAsyncSelect/index.tsx @@ -5,7 +5,7 @@ import { SelectProps, DefaultOptionType } from 'antd/lib/select'; import { useTranslation } from '../../../mls'; import { UseQueryOptions, useQuery } from 'react-query'; import { TFunction } from '@opensrp/i18n'; -import "./index.css" +import './index.css'; export type RawValueType = string | number | (string | number)[]; diff --git a/packages/react-utils/src/components/AsyncSelect/PaginatedAsyncSelect/index.tsx b/packages/react-utils/src/components/AsyncSelect/PaginatedAsyncSelect/index.tsx index 5c52773a7..25ad2497e 100644 --- a/packages/react-utils/src/components/AsyncSelect/PaginatedAsyncSelect/index.tsx +++ b/packages/react-utils/src/components/AsyncSelect/PaginatedAsyncSelect/index.tsx @@ -173,7 +173,7 @@ export function PaginatedAsyncSelect( const remainingRecords = totalPossibleRecords - recordsFetchedNum; const propsToSelect = { - className: "asyncSelect", + className: 'asyncSelect', ...restProps, placeholder, onChange: changeHandler, diff --git a/packages/react-utils/src/components/AsyncSelect/ValueSetAsyncSelect/index.tsx b/packages/react-utils/src/components/AsyncSelect/ValueSetAsyncSelect/index.tsx index 85b88a329..85e84de81 100644 --- a/packages/react-utils/src/components/AsyncSelect/ValueSetAsyncSelect/index.tsx +++ b/packages/react-utils/src/components/AsyncSelect/ValueSetAsyncSelect/index.tsx @@ -54,7 +54,7 @@ export function ValueSetAsyncSelect(props: ValueSetAsyncSelectProps) { const selectDropDownRender = dropDownFactory(t, data, error as Error); const selectProps = { - className: "asyncSelect", + className: 'asyncSelect', dropdownRender: selectDropDownRender, options: data, loading: isLoading,