We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01edd5c commit 9c53b48Copy full SHA for 9c53b48
src/content/blog/2024/04/25/react-19.md
@@ -80,7 +80,7 @@ function UpdateName({}) {
80
const [error, setError] = useState(null);
81
const [isPending, startTransition] = useTransition();
82
83
- const handleSubmit = async () => {
+ const handleSubmit = () => {
84
startTransition(async () => {
85
const error = await updateName(name);
86
if (error) {
0 commit comments