Skip to content

Commit

Permalink
Merge pull request #31 from interledger/chj/remove-necessary-id
Browse files Browse the repository at this point in the history
fix: remove unnecessary id attribute from codeblock
  • Loading branch information
huijing authored Dec 17, 2024
2 parents 992d5ab + a15a1ae commit 116de95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@interledger/docs-design-system",
"version": "0.6.0",
"version": "0.6.1",
"type": "module",
"description": "Shared styles and components used across all Interledger Starlight documentation sites",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions src/components/CodeBlock.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
const { title, id, class: className } = Astro.props;
const { title, class: className } = Astro.props;
---
<div class:list={['codeblock', className]} id={id}>
<div class:list={['codeblock', className]}>
<p>{title}</p>
<slot />
</div>
Expand Down

0 comments on commit 116de95

Please sign in to comment.