Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e6f9934

Browse files
Merge pull request ryanmcdermott#290 from justin0022/patch-2
Update README.md
2 parents dd7e665 + 0ab8eba commit e6f9934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ then any other function that uses that `cart` array will be affected by this
650650
addition. That may be great, however it can be bad too. Let's imagine a bad
651651
situation:
652652

653-
The user clicks the "Purchase", button which calls a `purchase` function that
653+
The user clicks the "Purchase" button which calls a `purchase` function that
654654
spawns a network request and sends the `cart` array to the server. Because
655655
of a bad network connection, the `purchase` function has to keep retrying the
656656
request. Now, what if in the meantime the user accidentally clicks "Add to Cart"

0 commit comments

Comments
 (0)