From 485190842fcec874069015625d559c83b2e0ade9 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 19 May 2022 10:35:13 +0100 Subject: [PATCH] refactor dates verification --- .../frontend/building/data-containers/age.tsx | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/app/src/frontend/building/data-containers/age.tsx b/app/src/frontend/building/data-containers/age.tsx index e41e4942..ce6ff6bd 100644 --- a/app/src/frontend/building/data-containers/age.tsx +++ b/app/src/frontend/building/data-containers/age.tsx @@ -35,13 +35,19 @@ const AgeView: React.FunctionComponent = (props) => { user_verified={props.user_verified.hasOwnProperty("date_year")} user_verified_as={props.user_verified.date_year} verified_count={props.building.verified.date_year} - + /> + + = (props) => { user_verified={props.user_verified.hasOwnProperty("date_year")} user_verified_as={props.user_verified.date_year} verified_count={props.building.verified.date_year} - + /> + +