File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,15 +120,12 @@ function handleDisconnect() {
120120 >
121121 <span class =" text-fg-subtle" >$</span >
122122 <span class =" text-fg-subtle ms-2" >pnpm npmx-connector</span >
123- <button
124- type =" button"
123+ <ButtonBase
125124 :aria-label =" copied ? $t('connector.modal.copied') : $t('connector.modal.copy_command')"
126- class =" ms-auto text-fg-subtle p-1.5 -m-1.5 hover:text-fg transition-colors duration-200 focus-visible:outline-accent/70 rounded"
127125 @click =" copy('pnpm npmx-connector')"
128- >
129- <span v-if =" !copied" class =" i-carbon:copy block w-5 h-5" aria-hidden =" true" />
130- <span v-else class =" i-carbon:checkmark block w-5 h-5 text-green-500" aria-hidden =" true" />
131- </button >
126+ class =" ms-auto"
127+ :classicon =" copied ? 'i-carbon:checkmark text-green-500' : 'i-carbon:copy'"
128+ />
132129 </div >
133130
134131 <!-- TODO: Uncomment when npmx-connector is published to npm
You can’t perform that action at this time.
0 commit comments