Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Mar 30, 2021
1 parent 8ffb8cd commit 00178db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-refresh/src/ReactFreshBabelPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export default function(babel, opts = {}) {
if (!path) {
return calls;
}
let parentPath = path.parentPath;
const parentPath = path.parentPath;
if (!parentPath) {
return calls;
}
Expand Down

0 comments on commit 00178db

Please sign in to comment.