Skip to content

Commit

Permalink
fix(PublishButton): fix "Copy Cloud Link"
Browse files Browse the repository at this point in the history
  • Loading branch information
ramfox committed Sep 18, 2020
1 parent e8dc430 commit 336e843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/workbench/headerButtons/PublishButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const PublishButtonComponent: React.FunctionComponent<PublishButtonProps> = (pro
const extraActions = [{
icon: 'clone',
text: 'Copy Cloud Link',
onClick: () => clipboard.writeText
onClick: () => clipboard.writeText(`${QRI_CLOUD_URL}/${username}/${name}`)
}]

if (atHead) {
Expand Down

0 comments on commit 336e843

Please sign in to comment.