mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-13 18:21:00 +08:00
fix: fix type error when passing unannotated navigation ref
This commit is contained in:
@@ -206,7 +206,7 @@ export default function App() {
|
||||
return () => Dimensions.removeEventListener('change', onDimensionsChange);
|
||||
}, []);
|
||||
|
||||
const navigationRef = useNavigationContainerRef<RootStackParamList>();
|
||||
const navigationRef = useNavigationContainerRef();
|
||||
|
||||
useReduxDevToolsExtension(navigationRef);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user