Skip to content

Commit 38645f0

Browse files
committed
breadcrumbMessageFromAction review fixes
1 parent 68027c1 commit 38645f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ optional keys.
8585

8686
Default: `action => action.type`
8787

88-
`breadcrumbMessageFromAction` allows you to specify a transform function which is passed the `action` object and returns a `string` that describes a message of breadcrumb. Which will be logged to Sentry.
88+
`breadcrumbMessageFromAction` allows you to specify a transform function which is passed the `action` object and returns a `string` that will be used as the message of the breadcrumb.
8989

90-
By default, `breadcrumbMessageFromAction` will log `action.type` as a `message` of breadcrumb, but you can specify another value.
90+
By default `breadcrumbMessageFromAction` returns `action.type`.
9191

9292
Finally, be careful not to mutate your `action` within this function.
9393

0 commit comments

Comments
 (0)