Skip to content

Commit

Permalink
fix: remove component suffix in import statement (#2206)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlyu123 authored Nov 18, 2023
1 parent dd9cbf4 commit 45e0084
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export function decorateCompletions(
}
return {
...entry,
insertText: entry.insertText?.replace(componentPostfix, ''),
name: entry.name.slice(0, -componentPostfix.length)
};
})
Expand Down

0 comments on commit 45e0084

Please sign in to comment.