Skip to content

Commit

Permalink
[docs] Fix useMutation hook name
Browse files Browse the repository at this point in the history
  • Loading branch information
x0k committed Nov 4, 2024
1 parent 0d82ea2 commit 061f408
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Card, Code } from '@astrojs/starlight/components'
import Form from './_generic-backend.svelte';
import formCode from './_generic-backend.svelte?raw';

You can improve the experience of sending data to the server by using the `useAction` hook.
You can improve the experience of sending data to the server by using the `useMutation` hook.

<Code code={formCode} lang="svelte" />

Expand Down

0 comments on commit 061f408

Please sign in to comment.