Skip to content

Commit e7a0b1c

Browse files
author
Luca Forstner
authored
fix(nextjs): Add loading component type to server component wrapping (#7639)
1 parent 773f180 commit e7a0b1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/nextjs/src/config/loaders/wrappingLoader.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ export default function wrappingLoader(
182182
case 'not-found':
183183
componentType = 'Not-found';
184184
break;
185+
case 'loading':
186+
componentType = 'Loading';
187+
break;
185188
default:
186189
componentType = 'Unknown';
187190
}

0 commit comments

Comments
 (0)