From 434110390a444bac81efe9ab44364d94b37cbe43 Mon Sep 17 00:00:00 2001 From: Igor Berlenko Date: Fri, 30 Sep 2022 23:29:51 +0800 Subject: [PATCH] ReactHooks.js - delete emptyObject (#25031) It's not mentioned in docs and never used by projects.. should be removed.. --- packages/react/src/ReactHooks.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/react/src/ReactHooks.js b/packages/react/src/ReactHooks.js index 2e5046353a3a4..271a3bae9e680 100644 --- a/packages/react/src/ReactHooks.js +++ b/packages/react/src/ReactHooks.js @@ -158,8 +158,6 @@ export function useDebugValue( } } -export const emptyObject = {}; - export function useTransition(): [ boolean, (callback: () => void, options?: StartTransitionOptions) => void,