Skip to content

Commit 971741a

Browse files
committed
fix: typo
Signed-off-by: leesb971204 <[email protected]>
1 parent 0cdb1ea commit 971741a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/router-generator/src/plugin/default-generator-plugin.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,8 @@ export function defaultGeneratorPlugin(): GeneratorPluginWithTransform {
9797
}
9898
},
9999
createRootRouteCode: () => `createRootRoute()`,
100-
createVirtualRouteCode: ({ node }) => {
101-
return `createFileRoute('${node.routePath}')()`
102-
},
100+
createVirtualRouteCode: ({ node }) =>
101+
`createFileRoute('${node.routePath}')()`,
103102
config: ({ sortedRouteNodes }) => {
104103
const hasMatchingRouteFiles = sortedRouteNodes.length > 0
105104
return {

0 commit comments

Comments
 (0)