Skip to content

Commit

Permalink
Display the CopyToClipboard component before the dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-herasme committed Aug 12, 2024
1 parent be9fef2 commit 510c8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/pages/blob/[hash].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ const Blob: NextPage = function () {
<div>Blob Data</div>
{blob && (
<div className="flex items-center gap-4">
<CopyToClipboard label="Copy blob data" value={blob.data} />
<div className="flex items-center gap-2">
<div className="text-sm font-normal text-contentSecondary-light dark:text-contentSecondary-dark">
View as:
Expand All @@ -169,7 +170,6 @@ const Blob: NextPage = function () {
}
/>
</div>
<CopyToClipboard label="Copy blob data" value={blob.data} />
</div>
)}
</div>
Expand Down

0 comments on commit 510c8b2

Please sign in to comment.