fix(docs): dependency parse wrong react scope (#5043)

This commit is contained in:
Peterl561 2025-03-13 21:50:23 +08:00 committed by GitHub
parent 1fc68fb272
commit 44b407a625
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ export const parseDependencies = (content: string) => {
// by default, react and heroui packages are installed already
const installedPackages = {
React,
...React,
...HeroUI,
} as Record<string, unknown>;