We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3772be1 commit 508bed6Copy full SHA for 508bed6
packages/common/refresh-runtime.js
@@ -653,10 +653,7 @@ export function validateRefreshBoundaryAndEnqueueUpdate(
653
654
function predicateOnExport(ignoredExports, moduleExports, predicate) {
655
for (const key in moduleExports) {
656
- if (key === '__esModule') continue
657
if (ignoredExports.includes(key)) continue
658
- const desc = Object.getOwnPropertyDescriptor(moduleExports, key)
659
- if (desc && desc.get) return key
660
if (!predicate(key, moduleExports[key])) return key
661
}
662
return true
0 commit comments