Skip to content

Commit

Permalink
docs(firestore): fix typo (#4142)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Diarmid <[email protected]>
  • Loading branch information
sarru1291 and Salakar authored Nov 19, 2020
1 parent 0054034 commit 27fc3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/firestore/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ should be used.
When using transactions, note that:

- Read operations must come before write operations
- Transactions will fail is the client is offline, they cannot use cached data
- Transactions will fail when the client is offline, they cannot use cached data

An example of where a transaction could be used would be in an application where a user can subscribe to a channel. When
a user presses the subscribe button, a "subscribers" field in a document increments. Without using Transactions, we would
Expand Down

0 comments on commit 27fc3e2

Please sign in to comment.