Skip to content

Commit

Permalink
Fix issue with PageLinkButton
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodentman87 committed Oct 2, 2022
1 parent db72869 commit 339f540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slashasaurus",
"version": "0.11.1",
"version": "0.11.2",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions src/PageComponents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export class PageLinkButton implements ExportableToDjsComponent {
const builder = new ButtonBuilder({
style: ButtonStyle.Link,
disabled: this.disabled,
url: this.url,
});
if (this.label) builder.setLabel(this.label);
if (this.emoji) builder.setEmoji(this.emoji);
Expand Down

0 comments on commit 339f540

Please sign in to comment.