Skip to content

Commit ee60b60

Browse files
committed
fix: not actually filtering
1 parent d13e766 commit ee60b60

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/core/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,8 @@ export const start = () => {
188188
ReactScanInternals.componentNameAllowList.size > 0 &&
189189
!ReactScanInternals.componentNameAllowList.has(render.name)
190190
) {
191-
// don't render if the render has a name, the allowlist is set, and the name is not in the allowlist
192-
}
193-
ReactScanInternals.scheduledOutlines.push(outline);
191+
/** */
192+
} else ReactScanInternals.scheduledOutlines.push(outline);
194193
}
195194

196195
if (options.playSound && audioContext) {

0 commit comments

Comments
 (0)