Skip to content

Commit

Permalink
feat: update main route
Browse files Browse the repository at this point in the history
  • Loading branch information
LeleDallas committed Apr 29, 2023
1 parent 360b3cb commit a62749d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,11 @@ import Nav from './Home/Nav.tsx';
import Footer from './Home/Footer1.tsx';
import { isMobile } from 'react-device-detect';
import 'antd/dist/reset.css';
import { connect, ConnectedProps } from 'react-redux';
import { connect } from 'react-redux';
import { useEffect, useState } from 'react';
import Service from "./Service/index.tsx";


interface AppProps extends ConnectedProps<typeof connector> {
show: any;
logged: boolean
type: string
}

interface MapProps {
user: any;
logged: boolean
Expand All @@ -44,6 +39,7 @@ const App = () => {
<Route path="/" element={<Home />} />
<Route path="*" element={<Home />} />
<Route path="/Home" element={<Home />} />
<Route path="/Service" element={<Service />} />
</Routes>
<Footer key="Footer1_0" dataSource={Footer10DataSource} isMobile={isMobile} />
</BrowserRouter>
Expand Down

0 comments on commit a62749d

Please sign in to comment.