Skip to content

Commit 26d21fe

Browse files
authored
Change spelling of "patname" to "pathname" in comment (#6650)
Fix: change spelling of patname to pathname in comment
1 parent 6581249 commit 26d21fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/[locale]/[[...path]]/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const getPage: FC<DynamicParams> = async ({ params }) => {
7878

7979
const staticGeneratedLayout = DYNAMIC_ROUTES.get(pathname);
8080

81-
// If the current patname is a statically generated route
81+
// If the current pathname is a statically generated route
8282
// it means it does not have a Markdown file nor exists under the filesystem
8383
// but it is a valid route with an assigned layout that should be rendered
8484
if (staticGeneratedLayout !== undefined) {

0 commit comments

Comments
 (0)