Skip to content

Commit

Permalink
fix(nx-dev): copy command when using the terminal fence (#17055)
Browse files Browse the repository at this point in the history
  • Loading branch information
juristr authored May 16, 2023
1 parent ed0136b commit 7919668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx-dev/ui-markdoc/src/lib/nodes/fence.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function Fence({
<div className="code-block group relative w-full">
<div>
<CopyToClipboard
text={children}
text={command && command !== '' ? command : children}
onCopy={() => {
setCopied(true);
}}
Expand Down

1 comment on commit 7919668

@vercel
Copy link

@vercel vercel bot commented on 7919668 May 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx.dev
nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app

Please sign in to comment.