Skip to content

Commit 4341103

Browse files
authored
ReactHooks.js - delete emptyObject (#25031)
It's not mentioned in docs and never used by projects.. should be removed..
1 parent 31400ce commit 4341103

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/react/src/ReactHooks.js

-2
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,6 @@ export function useDebugValue<T>(
158158
}
159159
}
160160

161-
export const emptyObject = {};
162-
163161
export function useTransition(): [
164162
boolean,
165163
(callback: () => void, options?: StartTransitionOptions) => void,

0 commit comments

Comments
 (0)