Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 9c34ed6

Browse files
authored
Update README.md
1 parent 30b89c8 commit 9c34ed6

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
@@ -214,13 +214,13 @@ public class MainApplication extends Application implements ReactApplication {
214214

215215
## Usage
216216

217-
**DO NOT USE `.configure()` INSIDE A COMPONENT, EVEN `App` **
217+
**DO NOT USE `.configure()` INSIDE A COMPONENT, EVEN `App`**
218218

219219
```javascript
220220
import PushNotificationIOS from "@react-native-community/push-notification-ios";
221221
var PushNotification = require("react-native-push-notification");
222222

223-
// Must be outside of any component LifeCycle.
223+
// Must be outside of any component LifeCycle (such as `componentDidMount`).
224224
PushNotification.configure({
225225
// (optional) Called when Token is generated (iOS and Android)
226226
onRegister: function (token) {

0 commit comments

Comments
 (0)