Files
Jiachi LiuandGitHub db72cb12d9 refactor: Use swc AST to determine use client and server directives (#54358)
Follow up for #54202, use swc AST to determine the directives. Also add server actions directives for extendibility here in case we might need it in the future

Closes NEXT-1538
2023-08-23 12:28:20 +00:00

16 lines
310 B
JavaScript

import React from 'react'
import RootStyleRegistry from './root-style-registry'
export default function AppLayout({ children }) {
return (
<html>
<head>
<title>RSC</title>
</head>
<body>
<RootStyleRegistry>{children}</RootStyleRegistry>
</body>
</html>
)
}