File tree 2 files changed +2
-17
lines changed
2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change 3
3
"name" : " git-co-commit-docs" ,
4
4
"version" : " 0.1.0" ,
5
5
"private" : true ,
6
- "reactSnapshot" : {
7
- "include" : [
8
- " /get-started" ,
9
- " /references"
10
- ]
11
- },
12
6
"dependencies" : {
13
7
"@testing-library/jest-dom" : " ^4.2.4" ,
14
8
"@testing-library/react" : " ^9.3.2" ,
Original file line number Diff line number Diff line change @@ -5,25 +5,16 @@ import Navbar from './Layout/Navbar/Navbar';
5
5
import Footer from './Layout/Footer/Footer' ;
6
6
7
7
import Home from './pages/Home/Home' ;
8
+ import GetStarted from './pages/GetStarted/GetStarted' ;
8
9
9
- const GetStarted = React . lazy ( ( ) => import ( './pages/GetStarted/GetStarted' ) ) ;
10
10
const References = React . lazy ( ( ) => import ( './pages/References/References' ) ) ;
11
11
12
12
const App = ( ) => {
13
13
return (
14
14
< Router >
15
15
< Navbar />
16
16
< Switch >
17
- < Route
18
- path = '/get-started'
19
- render = {
20
- ( ) => (
21
- < Suspense fallback = { < center > Loading...</ center > } >
22
- < GetStarted />
23
- </ Suspense >
24
- )
25
- }
26
- />
17
+ < Route path = '/get-started' component = { GetStarted } />
27
18
< Route
28
19
path = '/references'
29
20
render = {
You can’t perform that action at this time.
0 commit comments