Skip to content

Commit 8fb29b0

Browse files
authored
React Router
1 parent ab53ff3 commit 8fb29b0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Router.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ export default function Router ({routes, defaultComponent}) {
7373
window.removeEventListener('popstate', onLocationChange)
7474
};
7575
}, [])
76-
77-
console.log(Array.isArray(routes))
78-
console.log(typeof routes)
7976
return routes.find(({path, component}) => path === currentPath)?.component || defaultComponent
8077
}
8178

0 commit comments

Comments
 (0)