Skip to content

Commit b44a8ff

Browse files
committed
chore: yarn prettier-all
1 parent d328d54 commit b44a8ff

File tree

1 file changed

+7
-3
lines changed
  • compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler

1 file changed

+7
-3
lines changed

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

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

33
function Component(props) {
44
const item = { a: props.a };
5-
const x = useNoAlias(item, () => {
6-
console.log(props);
7-
}, [props.a]);
5+
const x = useNoAlias(
6+
item,
7+
() => {
8+
console.log(props);
9+
},
10+
[props.a]
11+
);
812
return [x, item];
913
}
1014

0 commit comments

Comments
 (0)