mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
chore: update eslint and prettier
This commit is contained in:
@@ -43,6 +43,7 @@ const Header = React.memo(function Header(props: StackHeaderProps) {
|
||||
: previous.route.routeName;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
const goBack = React.useCallback(
|
||||
debounce(() => {
|
||||
navigation.dispatch(StackActions.pop({ key: scene.route.key }));
|
||||
|
||||
Reference in New Issue
Block a user