Skip to content

Commit

Permalink
Remove unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jp928 committed May 23, 2024
1 parent 8e312c1 commit d231a22
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import type { ReactElement } from 'react';
import React, { useCallback, useEffect, useRef } from 'react';
import { FlatList } from 'react-native-gesture-handler';
import Animated, { Easing, FadeOutDown, useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
import type {ReactElement} from 'react';
import React, {useCallback, useEffect, useRef} from 'react';
import {FlatList} from 'react-native-gesture-handler';
import Animated, {Easing, FadeOutDown, useAnimatedStyle, useSharedValue, withTiming} from 'react-native-reanimated';
import ColorSchemeWrapper from '@components/ColorSchemeWrapper';
import PressableWithFeedback from '@components/Pressable/PressableWithFeedback';
import useStyleUtils from '@hooks/useStyleUtils';
import useThemeStyles from '@hooks/useThemeStyles';
import * as DeviceCapabilities from '@libs/DeviceCapabilities';
import CONST from '@src/CONST';
import type { AutoCompleteSuggestionsProps, RenderSuggestionMenuItemProps } from './types';
import type {AutoCompleteSuggestionsProps, RenderSuggestionMenuItemProps} from './types';

const measureHeightOfSuggestionRows = (numRows: number, isSuggestionPickerLarge: boolean): number => {
if (isSuggestionPickerLarge) {
Expand All @@ -31,6 +31,7 @@ const measureHeightOfSuggestionRows = (numRows: number, isSuggestionPickerLarge:
* The desired pattern for all platforms is to do nothing on long-press.
* On the native platform, tapping on auto-complete suggestions will not blur the main input.
*/

function BaseAutoCompleteSuggestions<TSuggestion>({
highlightedSuggestionIndex,
onSelect,
Expand Down Expand Up @@ -110,4 +111,4 @@ function BaseAutoCompleteSuggestions<TSuggestion>({

BaseAutoCompleteSuggestions.displayName = 'BaseAutoCompleteSuggestions';

export default BaseAutoCompleteSuggestions;
export default BaseAutoCompleteSuggestions;

0 comments on commit d231a22

Please sign in to comment.