fix: Fix pass props from layout
1. Fix pass props from layout 2. Fix space to tab in Makefile Change-Id: I6de5a95360b2cbe4ad35162a6f83decd2ba506c1
This commit is contained in:
parent
42a5e8331d
commit
ae3b0fa579
2
Makefile
2
Makefile
@ -94,4 +94,4 @@ test:
|
|||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf .venv node_modules dist
|
rm -rf .venv node_modules dist
|
||||||
|
@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
|
|||||||
|
|
||||||
import routes from './routes';
|
import routes from './routes';
|
||||||
|
|
||||||
const App = () => renderRoutes(routes);
|
const App = (props) => renderRoutes(routes, props);
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
|
@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
|
|||||||
|
|
||||||
import routes from './routes';
|
import routes from './routes';
|
||||||
|
|
||||||
const App = () => renderRoutes(routes);
|
const App = (props) => renderRoutes(routes, props);
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
|
@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
|
|||||||
|
|
||||||
import routes from './routes';
|
import routes from './routes';
|
||||||
|
|
||||||
const App = () => renderRoutes(routes);
|
const App = (props) => renderRoutes(routes, props);
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
|
@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
|
|||||||
|
|
||||||
import routes from './routes';
|
import routes from './routes';
|
||||||
|
|
||||||
const App = () => renderRoutes(routes);
|
const App = (props) => renderRoutes(routes, props);
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
|
@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
|
|||||||
|
|
||||||
import routes from './routes';
|
import routes from './routes';
|
||||||
|
|
||||||
const App = () => renderRoutes(routes);
|
const App = (props) => renderRoutes(routes, props);
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
|
@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
|
|||||||
|
|
||||||
import routes from './routes';
|
import routes from './routes';
|
||||||
|
|
||||||
const App = () => renderRoutes(routes);
|
const App = (props) => renderRoutes(routes, props);
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
|
@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
|
|||||||
|
|
||||||
import routes from './routes';
|
import routes from './routes';
|
||||||
|
|
||||||
const App = () => renderRoutes(routes);
|
const App = (props) => renderRoutes(routes, props);
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
|
@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
|
|||||||
|
|
||||||
import routes from './routes';
|
import routes from './routes';
|
||||||
|
|
||||||
const App = () => renderRoutes(routes);
|
const App = (props) => renderRoutes(routes, props);
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
|
@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
|
|||||||
|
|
||||||
import routes from './routes';
|
import routes from './routes';
|
||||||
|
|
||||||
const App = () => renderRoutes(routes);
|
const App = (props) => renderRoutes(routes, props);
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
|
@ -16,6 +16,6 @@ import renderRoutes from 'utils/RouterConfig';
|
|||||||
|
|
||||||
import routes from './routes';
|
import routes from './routes';
|
||||||
|
|
||||||
const App = () => renderRoutes(routes);
|
const App = (props) => renderRoutes(routes, props);
|
||||||
|
|
||||||
export default App;
|
export default App;
|
||||||
|
Loading…
Reference in New Issue
Block a user