-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Kingsman-Construccion-de-software/actualiza
Actualiza
- Loading branch information
Showing
5 changed files
with
32 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
import React, { Component } from 'react'; | ||
import { Route, Routes } from 'react-router-dom'; | ||
import AppRoutes from './AppRoutes'; | ||
import { Layout } from './components/Layout'; | ||
import './custom.css'; | ||
import React, { Component } from "react"; | ||
import { Route, Routes } from "react-router-dom"; | ||
import AppRoutes from "./AppRoutes"; | ||
import { Layout } from "./components/Layout"; | ||
import "./custom.css"; | ||
import Login from "./Pages/login/Login"; | ||
|
||
export default class App extends Component { | ||
static displayName = App.name; | ||
|
||
render() { | ||
return ( | ||
<Layout> | ||
<Routes> | ||
{AppRoutes.map((route, index) => { | ||
const { element, ...rest } = route; | ||
return <Route key={index} {...rest} element={element} />; | ||
})} | ||
</Routes> | ||
</Layout> | ||
// <Layout> | ||
// {/* <Routes> | ||
// {AppRoutes.map((route, index) => { | ||
// const { element, ...rest } = route; | ||
// return <Route key={index} {...rest} element={element} />; | ||
// })} | ||
// </Routes> */} | ||
|
||
// </Layout> | ||
<div> | ||
<Login /> | ||
</div> | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes