Skip to content

Commit 00178db

Browse files
committed
Fix lint
1 parent 8ffb8cd commit 00178db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-refresh/src/ReactFreshBabelPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ export default function(babel, opts = {}) {
339339
if (!path) {
340340
return calls;
341341
}
342-
let parentPath = path.parentPath;
342+
const parentPath = path.parentPath;
343343
if (!parentPath) {
344344
return calls;
345345
}

0 commit comments

Comments
 (0)