Skip to content

Commit dc5cdb7

Browse files
authored
fix: mark Layout as browser safe route export (#8842)
1 parent 0eeea21 commit dc5cdb7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/many-grapes-confess.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"remix": patch
3+
"@remix-run/dev": patch
4+
---
5+
6+
fix: mark Layout as browser safe route export

packages/remix-dev/compiler/js/plugins/routes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const browserSafeRouteExports: { [name: string]: boolean } = {
1515
clientLoader: true,
1616
ErrorBoundary: true,
1717
HydrateFallback: true,
18+
Layout: true,
1819
default: true,
1920
handle: true,
2021
links: true,

0 commit comments

Comments
 (0)