Skip to content

Commit 93bcbfa

Browse files
committed
refactor: remove duplicate classes on the copy Markdown button
1 parent 617efb8 commit 93bcbfa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/pages/package/[...package].vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,8 +1146,7 @@ onKeyStroke(
11461146
<button
11471147
type="button"
11481148
@click="copyReadme()"
1149-
:disabled="!readmeData?.md"
1150-
class="px-2 py-1.5 font-mono text-xs rounded transition-colors duration-150 text-fg-subtle hover:text-fg inline-flex items-center gap-1.5"
1149+
class="px-2 py-1.5 font-mono text-xs rounded transition-colors duration-150 inline-flex items-center gap-1.5"
11511150
:class="
11521151
copiedReadme ? 'text-accent bg-accent/10' : 'text-fg-subtle bg-bg hover:text-fg'
11531152
"

0 commit comments

Comments
 (0)