File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ export default [
175175 'src/components/modals/CategoryModal.tsx' ,
176176
177177 'src/components/modals/ContactListModal.tsx' ,
178- 'src/components/modals/ContactsPermissionModal.tsx' ,
178+
179179 'src/components/modals/CountryListModal.tsx' ,
180180 'src/components/modals/DateModal.tsx' ,
181181 'src/components/modals/FiatListModal.tsx' ,
Original file line number Diff line number Diff line change @@ -47,8 +47,9 @@ export function maybeShowContactsPermissionModal(): ThunkAction<
4747
4848 // Bail if we already have permission:
4949 const contactsPermissionOn =
50- ( await check ( permissionNames . contacts ) . catch ( _error => 'denied' ) ) ===
51- 'granted'
50+ ( await check ( permissionNames . contacts ) . catch (
51+ ( _error : unknown ) => 'denied'
52+ ) ) === 'granted'
5253 if ( contactsPermissionOn ) return
5354
5455 // Show the modal:
@@ -65,7 +66,7 @@ export function maybeShowContactsPermissionModal(): ThunkAction<
6566 * Shows the modal if it hasn't been shown before, and attempts to set the
6667 * system contacts permission setting
6768 */
68- function ContactsPermissionModal ( props : Props ) {
69+ const ContactsPermissionModal : React . FC < Props > = props => {
6970 const { bridge } = props
7071 const theme = useTheme ( )
7172 const styles = getStyles ( theme )
You can’t perform that action at this time.
0 commit comments