Skip to content

Commit b9f4351

Browse files
committed
update comment
1 parent 33a75fa commit b9f4351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-router-devtools/src/vite/utils/data-functions-augment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const transform = (ast: ParseResult<Babel.File>, routeId: string) => {
4646
const importedName = specifier.imported.name
4747
const localName = specifier.local.name
4848
// Handle aliased imports where local name is a target export
49-
// e.g., import { partnerCategoryLoader as loader }
49+
// e.g., import { myLoader as loader }
5050
if (ALL_EXPORTS.includes(localName) && !ALL_EXPORTS.includes(importedName)) {
5151
const uniqueName = path.scope.generateUidIdentifier(localName)
5252
imports.push([localName, uniqueName])

0 commit comments

Comments
 (0)