File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export default function NotificationsExampleApp() {
21
21
useEffect ( ( ) => {
22
22
registerNotificationEvents ( ) ;
23
23
setCategories ( ) ;
24
- getInitialNotifaction ( ) ;
24
+ getInitialNotification ( ) ;
25
25
} , [ ] )
26
26
27
27
const registerNotificationEvents = ( ) => {
@@ -121,7 +121,7 @@ export default function NotificationsExampleApp() {
121
121
} )
122
122
}
123
123
124
- const getInitialNotifaction = async ( ) => {
124
+ const getInitialNotification = async ( ) => {
125
125
const initialNotification = await Notifications . getInitialNotification ( ) ;
126
126
if ( initialNotification ) {
127
127
setNotifications ( [ initialNotification , ...notifications ] ) ;
@@ -174,7 +174,7 @@ export default function NotificationsExampleApp() {
174
174
}
175
175
< Button title = { 'Send local notification' } onPress = { sendLocalNotification } testID = { 'sendLocalNotification' } />
176
176
< Button title = { 'Remove all delivered notifications' } onPress = { removeAllDeliveredNotifications } />
177
- < Button title = { 'Check registeration ' } onPress = { isRegistered } />
177
+ < Button title = { 'Check registration ' } onPress = { isRegistered } />
178
178
{ notifications . map ( ( notification , idx ) => (
179
179
< View key = { `notification_${ idx } ` } >
180
180
{ renderNotification ( notification ) }
You can’t perform that action at this time.
0 commit comments