Skip to content

Commit

Permalink
fix: remove flipper
Browse files Browse the repository at this point in the history
  • Loading branch information
huhuanming committed Mar 29, 2024
1 parent 18eab55 commit 5d284c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/kit/src/provider/NavigationProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createRef, memo, useEffect, useMemo, useRef } from 'react';

import { useFlipper } from '@react-navigation/devtools';
// import { useFlipper } from '@react-navigation/devtools';
import { DefaultTheme, NavigationContainer } from '@react-navigation/native';
import { StyleSheet, View } from 'react-native';
import { RootSiblingParent } from 'react-native-root-siblings';
Expand Down Expand Up @@ -130,7 +130,7 @@ const NavigationApp = () => {

// https://reactnavigation.org/docs/devtools/#useflipper
// only work during development and are disabled in production.
useFlipper(navigationRef);
// useFlipper(navigationRef);

useShortcuts();

Expand Down

0 comments on commit 5d284c8

Please sign in to comment.