diff --git a/new-lamassu-admin/src/pages/Customers/components/PhotosCard.js b/new-lamassu-admin/src/pages/Customers/components/PhotosCard.js index c76fd0d5..252f3964 100644 --- a/new-lamassu-admin/src/pages/Customers/components/PhotosCard.js +++ b/new-lamassu-admin/src/pages/Customers/components/PhotosCard.js @@ -49,11 +49,11 @@ const PhotosCard = memo(({ frontCameraData, txPhotosData }) => { R.compose(R.fromPairs, R.map(mapKeys), R.toPairs) ) - const filterByPhotoAvaiable = R.filter( + const filterByPhotoAvailable = R.filter( tx => !R.isNil(tx.date) && !R.isNil(tx.path) ) - const photosData = filterByPhotoAvaiable( + const photosData = filterByPhotoAvailable( addPhotoDir(standardizeKeys(R.append(frontCameraData, txPhotosData))) )