mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Fix code example typo in getting-started (#45)
This commit is contained in:
parent
d657fddaee
commit
b6f18d1992
@ -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!
|
||||
|
||||
Loading…
Reference in New Issue
Block a user