-
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.
- Loading branch information
Showing
7 changed files
with
38 additions
and
53 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
'use client' | ||
import React from 'react'; | ||
import { Provider } from 'react-redux'; | ||
import 'react-toastify/dist/ReactToastify.css'; | ||
import 'moment/locale/fr'; | ||
import './page.scss'; | ||
|
||
import Index from '../routes'; | ||
import Sell from '../routes/sell'; | ||
|
||
import store from '../store'; | ||
import Tv from '../routes/tv'; | ||
import Preparation from '../routes/preparation'; | ||
import Items from '../routes/items'; | ||
import LoginRouter from '../components/loginRouter'; | ||
import { Route } from 'react-router'; | ||
import moment from 'moment'; | ||
|
||
moment.locale('fr'); | ||
|
||
const App = () => { | ||
return ( | ||
<Provider store={store}> | ||
<LoginRouter> | ||
<Route exact path="/" Component={Index} /> | ||
<Route path="/sell" Component={Sell} /> | ||
<Route path="/preparation" Component={Preparation} /> | ||
<Route path="/tv" Component={Tv} /> | ||
<Route path="/items" Component={Items} /> | ||
</LoginRouter> | ||
</Provider> | ||
); | ||
}; | ||
|
||
export default App; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import App from './app'; | ||
import Page from './app'; | ||
|
||
ReactDOM.render(<App />, document.getElementById('root')); | ||
ReactDOM.render(<Page />, document.getElementById('root')); |