Skip to content

Commit

Permalink
fix: Fixed documentation link component
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobiClark committed Jul 24, 2024
1 parent b1a75ff commit 017b964
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const componentTypeRenderers = {
},
"external-link": (componentSlot) => {
const props = {
url: componentSlot.getAttribute("data-url"),
href: componentSlot.getAttribute("data-href"),
buttonText: componentSlot.getAttribute("data-button-text"),
buttonType: componentSlot.getAttribute("data-button-type"),
};
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/sections/documentation/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h2 class="document_text">
>
<div
data-component-type="external-link"
data-url="https://docs.sodaforsparc.io/docs/getting-started/organize-and-submit-sparc-datasets-with-soda"
data-href="https://docs.sodaforsparc.io/docs/getting-started/organize-and-submit-sparc-datasets-with-soda"
data-button-text="View Documentation"
data-button-type="button"
></div>
Expand Down

0 comments on commit 017b964

Please sign in to comment.