Skip to content

Commit c62cc19

Browse files
committed
fix: get module from modulesMap by id
1 parent 6ec77e1 commit c62cc19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/devtools/src/app/components/modules

packages/devtools/src/app/components/modules/Graph.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function calculateGraph() {
7070
return rootModules.value
7171
}
7272
const modules = node.imports.map((x) => {
73-
const module = modulesMap.value.get(x)
73+
const module = modulesMap.value.get(x.id)
7474
if (module) {
7575
if (seen.has(module)) {
7676
return undefined

0 commit comments

Comments
 (0)