File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
packages/next/src/next-devtools/dev-overlay/components/overview Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -172,14 +172,15 @@ function PageSegmentTreeLayerPresentation({
172
172
)
173
173
}
174
174
175
- export function SegmentsExplorer (
176
- props : DevToolsInfoPropsCore &
177
- HTMLProps < HTMLDivElement > & {
178
- routerType : 'app' | 'pages'
179
- }
180
- ) {
175
+ export function SegmentsExplorer ( {
176
+ routerType,
177
+ ...props
178
+ } : DevToolsInfoPropsCore &
179
+ HTMLProps < HTMLDivElement > & {
180
+ routerType : 'app' | 'pages'
181
+ } ) {
181
182
const tree = useSegmentTree ( )
182
- const isAppRouter = props . routerType === 'app'
183
+ const isAppRouter = routerType === 'app'
183
184
return (
184
185
< DevToolsInfo title = "Route Info" { ...props } >
185
186
< PageSegmentTree tree = { tree } isAppRouter = { isAppRouter } />
You can’t perform that action at this time.
0 commit comments