Skip to content

Commit ca7568f

Browse files
committed
fix condition
1 parent 640f390 commit ca7568f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/bundle-check/compare-bundles.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,7 @@ Array.from(allComponents)
4646
if (componentName.startsWith("packages/components/")) {
4747
const packageName = componentName.split("/")[2];
4848
displayName = `@vibe/${packageName}`;
49-
} else if (
50-
componentName.includes("/next/") ||
51-
(componentName.includes("/Modal/") && !componentName.includes("/LegacyModal/"))
52-
) {
49+
} else if (componentName.includes("/next/")) {
5350
const baseName = path.basename(componentName, path.extname(componentName));
5451
displayName = `${baseName} (Next)`;
5552
} else {

0 commit comments

Comments
 (0)