Skip to content

Commit 7226694

Browse files
committed
Update snapshot
1 parent b44a8ff commit 7226694

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/hook-noAlias.expect.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ import { useNoAlias } from "shared-runtime";
66

77
function Component(props) {
88
const item = { a: props.a };
9-
const x = useNoAlias(item, () => {
10-
console.log(props);
11-
}, [props.a]);
9+
const x = useNoAlias(
10+
item,
11+
() => {
12+
console.log(props);
13+
},
14+
[props.a]
15+
);
1216
return [x, item];
1317
}
1418

0 commit comments

Comments
 (0)