Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
asanchezr committed Dec 24, 2024
1 parent 1bb044e commit d70e457
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { useMapStateMachine } from '@/components/common/mapFSM/MapStateMachineCo
import { PROPERTY_TYPES, useComposedProperties } from '@/hooks/repositories/useComposedProperties';
import { useQuery } from '@/hooks/use-query';
import { getCancelModalProps, useModalContext } from '@/hooks/useModalContext';
import { pinParser } from '@/utils';

import MapSideBarLayout from '../layout/MapSideBarLayout';
import SidebarFooter from '../shared/SidebarFooter';
Expand Down Expand Up @@ -46,10 +47,7 @@ export const MotiInventoryContainer: React.FunctionComponent<
props?.pid === undefined || props?.pid === '' || isNaN(Number(props.pid))
? undefined
: Number(props.pid),
pin:
props?.pin === undefined || props?.pin === '' || isNaN(Number(props.pin))
? undefined
: Number(props.pin),
pin: pinParser(props?.pin),
latLng: selectedFeatureData?.location ?? undefined,
propertyTypes: [
PROPERTY_TYPES.ASSOCIATIONS,
Expand Down

0 comments on commit d70e457

Please sign in to comment.