From 603af738055b69e1f847f5154fad2b08a25752c4 Mon Sep 17 00:00:00 2001 From: Berlian Gur Date: Wed, 3 Aug 2022 16:05:50 +0800 Subject: [PATCH] ReactHooks.js - delete emptyObject 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 9dc7a98589e4e..6bba9c9c60476 100644 --- a/packages/react/src/ReactHooks.js +++ b/packages/react/src/ReactHooks.js @@ -157,8 +157,6 @@ export function useDebugValue( } } -export const emptyObject = {}; - export function useTransition(): [ boolean, (callback: () => void, options?: StartTransitionOptions) => void,