Skip to content

Commit 65cd069

Browse files
fix: migrate LinkButton to new api (#7736)
1 parent d61008a commit 65cd069

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Buttons are simply... clickable buttons. They take `href` and `color` as argumen
8585
![Button MDX Component](static/images/mdx-button.png)
8686

8787
```markdown
88-
<LinkButton to="https://discord.com/developers/docs/getting-started" color="brand">click the button!</LinkButton>
88+
<LinkButton to="https://discord.com/developers/docs/getting-started" color="brand" text="click the button!" />
8989
```
9090

9191
#### Cards

docs/activities/building-an-activity.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ By the end of Step 1, you should have:
107107

108108
With our project set up, let's create our app and configure the Activity. Create a new app in the developer portal if you don't have one already:
109109

110-
<LinkButton to="https://discord.com/developers/applications?new_application=true" color="brand">Create App</LinkButton>
110+
<LinkButton to="https://discord.com/developers/applications?new_application=true" color="brand" text="Create App" />
111111

112112
Enter a name for your app, select a development team, then press **Create**.
113113

docs/quick-start/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ With that out of the way, open your new project in the code editor of your choic
8787

8888
First, you'll need to create an app in the developer portal if you don't have one already:
8989

90-
<LinkButton to="https://discord.com/developers/applications?new_application=true" color="brand">Create App</LinkButton>
90+
<LinkButton to="https://discord.com/developers/applications?new_application=true" color="brand" text="Create App" />
9191

9292
Enter a name for your app, then press **Create**.
9393

docs/tutorials/developing-a-user-installable-app.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ With that out of the way, open your new project in the code editor of your choic
5959

6060
First, you'll need to create an app in the developer portal if you don't have one already:
6161

62-
<LinkButton to="https://discord.com/developers/applications?new_application=true" color="brand">Create App</LinkButton>
62+
<LinkButton to="https://discord.com/developers/applications?new_application=true" color="brand" text="Create App" />
6363

6464
Enter a name for your app, then press **Create**.
6565

0 commit comments

Comments
 (0)