Skip to content

Commit dffa035

Browse files
committed
apply prettier formatting
1 parent 6011527 commit dffa035

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/react-refresh/src/ReactFreshBabelPlugin.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,9 @@ export default function(babel, opts = {}) {
756756
path.traverse(HookCallsVisitor);
757757
},
758758
exit(path) {
759-
const registrations = Array.from(registrationsByProgramPath.values()).flatMap(p => p);
759+
const registrations = Array.from(
760+
registrationsByProgramPath.values(),
761+
).flatMap(p => p);
760762
if (registrations === undefined || registrations.length === 0) {
761763
return;
762764
}

0 commit comments

Comments
 (0)