Skip to content

Commit

Permalink
Fix show more (#657)
Browse files Browse the repository at this point in the history
* fix: : "Show More" and "Show Less" text are reversed

* chore: adds changeset
  • Loading branch information
luis-herasme authored Dec 2, 2024
1 parent c88e11f commit 9599958
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/long-onions-sit.md
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions apps/web/src/components/ExpandableContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ export const ExpandableContent: FC<ExpandableElementProps> = function ({
>
{opened ? (
<>
Show More <ChevronUpIcon className="h-5 w-5" />
Show Less <ChevronUpIcon className="h-5 w-5" />
</>
) : (
<>
Show Less <ChevronDownIcon className="h-5 w-5" />
Show More <ChevronDownIcon className="h-5 w-5" />
</>
)}
</div>
Expand Down

0 comments on commit 9599958

Please sign in to comment.