Skip to content

Commit bc2bbc7

Browse files
committed
rn unused arg
1 parent cb48979 commit bc2bbc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-reconciler/src/__tests__/useEffectEvent-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ describe('useEffectEvent', () => {
12741274
// @gate enableActivity
12751275
it('effect events are fresh inside Activity', async () => {
12761276
function Child({value}) {
1277-
const getValue = useEffectEvent(effectName => {
1277+
const getValue = useEffectEvent(() => {
12781278
return value;
12791279
});
12801280
useInsertionEffect(() => {

0 commit comments

Comments
 (0)