From a0da41fa923e6fbbe4c2844b3a82de27397ecd98 Mon Sep 17 00:00:00 2001 From: Maciej Ziarkowski Date: Thu, 12 Aug 2021 21:11:00 +0100 Subject: [PATCH] Reformat like data entry --- .../data-components/like-data-entry.tsx | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/app/src/frontend/building/data-components/like-data-entry.tsx b/app/src/frontend/building/data-components/like-data-entry.tsx index cdb24d24..3fdb913a 100644 --- a/app/src/frontend/building/data-components/like-data-entry.tsx +++ b/app/src/frontend/building/data-components/like-data-entry.tsx @@ -15,18 +15,27 @@ interface LikeDataEntryProps { const LikeDataEntry: React.FunctionComponent = (props) => { const data_string = JSON.stringify({like: true}); return ( - + <>
- -
+
Like more +
- +
+

{ (props.totalLikes != null)? @@ -36,16 +45,7 @@ const LikeDataEntry: React.FunctionComponent = (props) => { : "0 people like this building so far - you could be the first!" }

- - + ); };