Skip to content

Commit

Permalink
fix(ui): copy button on code fragments
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Feb 6, 2024
1 parent f2749f1 commit 07b6488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/blog/post/[slug]/components/copy-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const CopyButton = ({ text }) => {
: 'cursor-pointer bg-neutral-300 text-neutral-600 opacity-40 dark:bg-neutral-800 dark:text-neutral-400'
}`}
>
{isCopied ? <Check /> : <Copy />}
{isCopied ? <Check size="1em" /> : <Copy size="1em" />}
</button>
)
}

0 comments on commit 07b6488

Please sign in to comment.