Skip to content

Commit 7382c84

Browse files
committed
Update comment
1 parent 6813ad7 commit 7382c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-router-dev/vite/rsc/virtual-route-modules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ async function createVirtualRouteModuleCode({
121121
code += `export { ${staticExport} } from "${clientModuleId}";\n`;
122122
} else if (
123123
isServerFirstComponentExport(staticExport) &&
124-
// Layout wraps all other exports so doesn't need to have CSS injected
124+
// Layout wraps all other component exports so doesn't need CSS injected
125125
staticExport !== "Layout"
126126
) {
127127
code += `import { ${staticExport} as ${staticExport}WithoutCss } from "${serverModuleId}";\n`;

0 commit comments

Comments
 (0)