Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljscript committed Nov 18, 2024
1 parent e671e24 commit 7879992
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Notifications, Registered, RegistrationError} from 'react-native-notifications'
import {NotificationBackgroundFetchResult} from 'react-native-notifications'
import React from 'react'
import {PermissionsAndroid} from 'react-native'
import {Notifications, Registered, RegistrationError} from 'react-native-notifications'
import {NotificationBackgroundFetchResult} from 'react-native-notifications'

import {notificationManager} from './notification-manager'
import {parseNotificationId} from './notifications'
Expand Down Expand Up @@ -56,5 +56,5 @@ const usePushNotifications = ({enabled}: {enabled: boolean}) => {
Notifications.events().registerRemoteNotificationsRegistrationFailed((event: RegistrationError) => {
console.error('Failed to register for remote notifications', event)
})
}, [])
}, [enabled])
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Notification, Notifications} from 'react-native-notifications'
import {mountAsyncStorage} from '@yoroi/common'
import {Notifications as NotificationTypes} from '@yoroi/types'
import {Notification, Notifications} from 'react-native-notifications'

import {formatCurrency, getCurrencySymbol} from '../../../Settings/useCases/changeAppSettings/Currency/CurrencyContext'

Expand Down

0 comments on commit 7879992

Please sign in to comment.