diff --git a/src/components/withNavigationFallback.tsx b/src/components/withNavigationFallback.tsx index d3d6d39b4dd3..aa58b12d4b01 100644 --- a/src/components/withNavigationFallback.tsx +++ b/src/components/withNavigationFallback.tsx @@ -1,8 +1,7 @@ -import React, {ComponentType, RefAttributes, ForwardedRef, ReactElement, forwardRef, useContext, useMemo} from 'react'; import {NavigationContext} from '@react-navigation/core'; import {NavigationProp} from '@react-navigation/native'; import {ParamListBase} from '@react-navigation/routers'; -import getComponentDisplayName from '../libs/getComponentDisplayName'; +import React, {ComponentType, ForwardedRef, forwardRef, ReactElement, RefAttributes, useContext, useMemo} from 'react'; type AddListenerCallback = () => void; @@ -44,7 +43,7 @@ export default function (WrappedComponent: ComponentType