mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
(generated by graphite) ### What? Introduce `get_specificity` method to determine the specificity of routes. This facilitates more accurate route matching for catchall routes by comparing route specificity. Modify existing route matching logic to incorporate specificity checks and avoid route conflicts. Add corresponding tests to validate the new specificity handling mechanism. Fixes #67045 Closes PACK-3154
10 lines
175 B
TypeScript
10 lines
175 B
TypeScript
import { ReactNode } from 'react'
|
|
|
|
export default function Root({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|