From 4cf83c87611747d1a8626006c18e53f3082b2254 Mon Sep 17 00:00:00 2001 From: Richard Watts Date: Mon, 8 Jul 2024 11:09:09 +0100 Subject: [PATCH] (fix) Fix formatting. --- src/components/Timestamp.tsx | 8 ++++++-- src/search/DSBlockItem.tsx | 9 ++++++--- src/search/RecentBlockItem.tsx | 1 - 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/components/Timestamp.tsx b/src/components/Timestamp.tsx index 1fc8af22..d7b67e9c 100644 --- a/src/components/Timestamp.tsx +++ b/src/components/Timestamp.tsx @@ -45,7 +45,11 @@ const Timestamp: React.FC = ({ value, age }) => { let snippet; if (age === undefined || age) { - snippet = ({tsString}); + snippet = ( + + ({tsString}) + + ); } else { snippet = {tsString}; } @@ -53,7 +57,7 @@ const Timestamp: React.FC = ({ value, age }) => { return (
- { snippet } + {snippet}
); }; diff --git a/src/search/DSBlockItem.tsx b/src/search/DSBlockItem.tsx index 9e243f5b..f135d53c 100644 --- a/src/search/DSBlockItem.tsx +++ b/src/search/DSBlockItem.tsx @@ -30,9 +30,12 @@ const DSBlockItem: React.FC = ({ {commify(block.header.Difficulty)} {commify(block.header.DifficultyDS)} - + + +