Skip to content

Commit ee264ad

Browse files
committed
starting point
1 parent 29e872a commit ee264ad

File tree

1 file changed

+2
-0
lines changed
  • react/advanced-hooks/06-form-actions/lecture

1 file changed

+2
-0
lines changed

react/advanced-hooks/06-form-actions/lecture/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ export function App() {
4141
const [messages, setMessages] = useState<Message[]>([])
4242
const [pending, setPending] = useState(false)
4343

44+
// const [pending, startTransition] = useTransition()
45+
4446
async function handleSubmit(e: FormEvent<HTMLFormElement>) {
4547
e.preventDefault()
4648
setPending(true)

0 commit comments

Comments
 (0)