From 9599958f518beca46bd906f29352538328482aa2 Mon Sep 17 00:00:00 2001 From: Luis Herasme Date: Mon, 2 Dec 2024 10:39:26 -0400 Subject: [PATCH] Fix show more (#657) * fix: : "Show More" and "Show Less" text are reversed * chore: adds changeset --- .changeset/long-onions-sit.md | 5 +++++ apps/web/src/components/ExpandableContent.tsx | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/long-onions-sit.md diff --git a/.changeset/long-onions-sit.md b/.changeset/long-onions-sit.md new file mode 100644 index 000000000..f43a19f7f --- /dev/null +++ b/.changeset/long-onions-sit.md @@ -0,0 +1,5 @@ +--- +"@blobscan/web": patch +--- + +Fixed an issue on the blob details page where the 'Show More' and 'Show Less' labels were displayed incorrectly diff --git a/apps/web/src/components/ExpandableContent.tsx b/apps/web/src/components/ExpandableContent.tsx index 919948e01..4b334b4a2 100644 --- a/apps/web/src/components/ExpandableContent.tsx +++ b/apps/web/src/components/ExpandableContent.tsx @@ -48,11 +48,11 @@ export const ExpandableContent: FC = function ({ > {opened ? ( <> - Show More + Show Less ) : ( <> - Show Less + Show More )}