Issue in implementing parallel route in next.js
Unanswered
Giant Angora posted this in #help-forum
Giant AngoraOP
app
- dashboard
layout.tsx
page.tsx
-@list
page.tsx
-@analytics
page.tsx
can anyone tell me the issue in this
- dashboard
layout.tsx
page.tsx
-@list
page.tsx
-@analytics
page.tsx
can anyone tell me the issue in this
5 Replies
Giant AngoraOP
here is the dashboard layout.tsx code
import React from 'react'
const DashboardLayout = (props: {
children: React.ReactNode
analytics: React.ReactNode
list: React.ReactNode
}) => {
return (
#Unknown Channel
{props.children}
{props.analytics}
{props.list}
</>
)
}
export default DashboardLayout;
import React from 'react'
const DashboardLayout = (props: {
children: React.ReactNode
analytics: React.ReactNode
list: React.ReactNode
}) => {
return (
#Unknown Channel
{props.children}
{props.analytics}
{props.list}
</>
)
}
export default DashboardLayout;
Give us a reproduction repository
@joulev Give us a reproduction repository
Giant AngoraOP
its in my local
@Giant Angora its in my local
I know. But we cannot magically see your project in your computer. You have to share the code for us to know what’s wrong. Keep in mind that posts without sufficient information may be locked, see the help forum guidelines