Unverified Commit ff2e3541 authored by mikeboensel's avatar mikeboensel Committed by GitHub

Update 09-error-handling.mdx (#74656)

parent 08c6275f
...@@ -66,7 +66,7 @@ Then, you can pass your action to the `useActionState` hook and use the returned ...@@ -66,7 +66,7 @@ Then, you can pass your action to the `useActionState` hook and use the returned
'use client' 'use client'
import { useActionState } from 'react' import { useActionState } from 'react'
import { createUser } from '@/app/actions' import { createPost } from '@/app/actions'
const initialState = { const initialState = {
message: '', message: '',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment