Fix code example typo in getting-started (#45)

This commit is contained in:
Cole Robertson 2024-05-23 02:52:50 -05:00 committed by GitHub
parent d657fddaee
commit b6f18d1992
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ That's it! You don't need to worry about fetching the user, storing the user dat
You can also add a button to change the user's name:
```tsx
<button onClick={asycn () => await app.update({ displayName: "New Name" })}>
<button onClick={async () => await app.update({ displayName: "New Name" })}>
Change Name
</button>
```
@ -56,4 +56,4 @@ Best of all, Stack is **100% open-source**.
This is just a glimpse of what Stack can do. Stack also handles many other tasks like backend integration, data storage, emails, teams, permissions, and more, which you will learn later in the documentation.
If this sounds interesting, let's get started with setting up Stack in your project!
If this sounds interesting, let's get started with setting up Stack in your project!