We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6813ad7 commit 7382c84Copy full SHA for 7382c84
packages/react-router-dev/vite/rsc/virtual-route-modules.ts
@@ -121,7 +121,7 @@ async function createVirtualRouteModuleCode({
121
code += `export { ${staticExport} } from "${clientModuleId}";\n`;
122
} else if (
123
isServerFirstComponentExport(staticExport) &&
124
- // Layout wraps all other exports so doesn't need to have CSS injected
+ // Layout wraps all other component exports so doesn't need CSS injected
125
staticExport !== "Layout"
126
) {
127
code += `import { ${staticExport} as ${staticExport}WithoutCss } from "${serverModuleId}";\n`;
0 commit comments