Skip to content

Commit a958b19

Browse files
committed
added missing prop to useactionstate example
1 parent 55a317d commit a958b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/useActionState.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export default function Checkout() {
177177
<button onClick={handleClick}>Add Ticket{isPending ? ' 🌀' : ' '}</button>
178178
</div>
179179
<hr />
180-
<Total quantity={count} />
180+
<Total quantity={count} isPending={isPending} />
181181
</div>
182182
);
183183
}

0 commit comments

Comments
 (0)