From 97f73a01c375a8dff13052b891ee4d315f31e55c Mon Sep 17 00:00:00 2001 From: Eric Rozell Date: Fri, 20 Oct 2023 14:26:34 -0700 Subject: [PATCH] Remove unused import from Pressable.js (#41083) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41083 All callsites for `useImperativeHandle` have been removed, so we can also remove the import from react. ## Changelog [General][Internal] Reviewed By: mogers Differential Revision: D50457268 fbshipit-source-id: befa08cf7173a8d02800fa2447dbcd8a9ce874de --- .../react-native/Libraries/Components/Pressable/Pressable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/Libraries/Components/Pressable/Pressable.js b/packages/react-native/Libraries/Components/Pressable/Pressable.js index 3d7f607b26d..ef8dccaa830 100644 --- a/packages/react-native/Libraries/Components/Pressable/Pressable.js +++ b/packages/react-native/Libraries/Components/Pressable/Pressable.js @@ -30,7 +30,7 @@ import useAndroidRippleForView, { type RippleConfig, } from './useAndroidRippleForView'; import * as React from 'react'; -import {useImperativeHandle, useMemo, useRef, useState} from 'react'; +import {useMemo, useRef, useState} from 'react'; type ViewStyleProp = $ElementType, 'style'>;