mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
remove unwanted logs
This commit is contained in:
parent
f50d3aeb24
commit
0ff3ac3016
@ -121,15 +121,12 @@ export const Router = withRouter((props) => {
|
||||
})
|
||||
|
||||
export const InternalRouter = (props) => {
|
||||
console.log(props)
|
||||
return <BrowserRouter>
|
||||
<Router {...props} />
|
||||
</BrowserRouter>
|
||||
}
|
||||
|
||||
export const PageRender = (props) => {
|
||||
console.log(props)
|
||||
|
||||
return <React.Suspense fallback={props.staticRenders?.PageLoad ? React.createElement(props.staticRenders?.PageLoad) : "Loading..."}>
|
||||
<Switch>
|
||||
{routes.map(({ path, component: Component = React.Fragment }) => (
|
||||
|
Loading…
x
Reference in New Issue
Block a user