Skip to content

Commit 179ffbe

Browse files
enhancement(lint): Fix lint errors for src/App.tsx
Co-authored-by: NeonGamerBot-QK <[email protected]> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
1 parent a9e74f9 commit 179ffbe

File tree

1 file changed

+44
-30
lines changed

1 file changed

+44
-30
lines changed

src/App.tsx

Lines changed: 44 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,50 @@
1-
import React from 'react'
2-
import Main from './components/main'
3-
import Navbar from './components/navbar'
4-
import InfogramBelowMain from './components/infobelowmain'
5-
import { HashRouter } from './components/HashRouter'
6-
import Route from './components/HashRouter/Route'
7-
import AboutPage from './components/AboutPage'
8-
import SkillSet from './components/AboutPage/SkillSet'
9-
import GithubStats from './components/AboutPage/Github'
10-
import Projects from './components/Projects'
11-
import Page404 from './components/static/404'
12-
import ContactPage from './components/ContactPage'
13-
import ReWork from './components/ReWork'
1+
import React from "react";
2+
import Main from "./components/main";
3+
import Navbar from "./components/navbar";
4+
import InfogramBelowMain from "./components/infobelowmain";
5+
import { HashRouter } from "./components/HashRouter";
6+
import Route from "./components/HashRouter/Route";
7+
import AboutPage from "./components/AboutPage";
8+
import SkillSet from "./components/AboutPage/SkillSet";
9+
import GithubStats from "./components/AboutPage/Github";
10+
import Projects from "./components/Projects";
11+
import Page404 from "./components/static/404";
12+
import ContactPage from "./components/ContactPage";
13+
import ReWork from "./components/ReWork";
1414

15-
function App ({ analytics }: any) {
16-
return <ReWork />
15+
function App({ analytics }: any) {
16+
return <ReWork />;
1717
return (
1818
<HashRouter>
19-
<Route path={'#/'} index component={<div style={{ zIndex: 9999 }}>
20-
<Main />
21-
<InfogramBelowMain />
22-
<br />
23-
</div>} />
24-
<Route path='#/about' component={<>
25-
<AboutPage />
26-
<SkillSet />
27-
<GithubStats />
28-
</>} />
29-
<Route path='#/projects' component={<Projects />} />
30-
<Route path='#/contact' component={<ContactPage analytics={analytics} />} />
31-
<Route path='*' component={<Page404 />} />
19+
<Route
20+
path={"#/"}
21+
index
22+
component={
23+
<div style={{ zIndex: 9999 }}>
24+
<Main />
25+
<InfogramBelowMain />
26+
<br />
27+
</div>
28+
}
29+
/>
30+
<Route
31+
path="#/about"
32+
component={
33+
<>
34+
<AboutPage />
35+
<SkillSet />
36+
<GithubStats />
37+
</>
38+
}
39+
/>
40+
<Route path="#/projects" component={<Projects />} />
41+
<Route
42+
path="#/contact"
43+
component={<ContactPage analytics={analytics} />}
44+
/>
45+
<Route path="*" component={<Page404 />} />
3246
</HashRouter>
33-
)
47+
);
3448
}
3549

36-
export default App
50+
export default App;

0 commit comments

Comments
 (0)