mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-11 07:04:02 +08:00
Update react-lifecycles-compat
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import { Linking, AsyncStorage } from 'react-native';
|
||||
import withLifecyclePolyfill from 'react-lifecycles-compat';
|
||||
import { polyfill } from 'react-lifecycles-compat';
|
||||
|
||||
import { BackHandler } from './PlatformHelpers';
|
||||
import NavigationActions from './NavigationActions';
|
||||
@@ -367,5 +367,5 @@ export default function createNavigationContainer(Component) {
|
||||
}
|
||||
}
|
||||
|
||||
return withLifecyclePolyfill(NavigationContainer);
|
||||
return polyfill(NavigationContainer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user