Skip to content

Commit 4824023

Browse files
docs: Whitespace cleanup
1 parent 54fe858 commit 4824023

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/integrations/react.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ At this point, Raven is ready to capture any uncaught exception.
2424

2525
Expanded Usage
2626
--------------
27-
If you're using React 16 or above, `Error Boundaries <https://reactjs.org/blog/2017/07/26/error-handling-in-react-16.html>`_
28-
are an important tool for defining the behavior of your application in the face of errors. Be sure to send errors they catch to
27+
If you're using React 16 or above, `Error Boundaries <https://reactjs.org/blog/2017/07/26/error-handling-in-react-16.html>`_
28+
are an important tool for defining the behavior of your application in the face of errors. Be sure to send errors they catch to
2929
Sentry using ``Raven.captureException``, and optionally this is also a great opportunity to surface `User Feedback <https://docs.sentry.io/learn/user-feedback/>`_
3030

3131
.. code-block:: javascript
@@ -35,7 +35,7 @@ Sentry using ``Raven.captureException``, and optionally this is also a great opp
3535
super(props);
3636
this.state = { error: null };
3737
}
38-
38+
3939
componentDidCatch(error, errorInfo) {
4040
this.setState({ error });
4141
Raven.captureException(error, { extra: errorInfo });
@@ -55,7 +55,7 @@ Sentry using ``Raven.captureException``, and optionally this is also a great opp
5555
);
5656
} else {
5757
//when there's not an error, render children untouched
58-
return this.props.children;
58+
return this.props.children;
5959
}
6060
}
6161
}
@@ -77,7 +77,7 @@ Read more about error boundaries `in this blog post <https://blog.sentry.io/2017
7777

7878
Redux
7979
-----
80-
If you use `Redux <https://github.com/reactjs/redux>`_ there are some useful community maintained middleware packages
80+
If you use `Redux <https://github.com/reactjs/redux>`_ there are some useful community maintained middleware packages
8181
for annotating error reports with useful information, such as store state and recent actions:
8282

8383
- `captbaritone/raven-for-redux <https://github.com/captbaritone/raven-for-redux>`_

0 commit comments

Comments
 (0)