@@ -28,37 +28,19 @@ const App = () => {
28
28
return (
29
29
< div >
30
30
< Switch >
31
- < Route exact path = "/" >
32
- < Home />
33
- </ Route >
34
- < Route exact path = "/about" >
35
- < About />
36
- </ Route >
37
- < Route exact path = "/teacherlogin" >
38
- < TeacherLogin history = { history } />
39
- </ Route >
40
- < Route exact path = "/login" >
41
- < StudentLogin history = { history } />
42
- </ Route >
43
- < PrivateRoute exact path = "/dashboard" render = { ( ) => < Dashboard history = { history } /> } />
44
- < PrivateRoute exact path = "/student" render = { ( ) => < Student history = { history } /> } />
45
- < Route path = "/workspace" >
46
- < Workspace history = { history } />
47
- </ Route >
48
- < Route path = "/sandbox" >
49
- < Sandbox history = { history } />
50
- </ Route >
51
- < PrivateRoute exact path = "/day" render = { ( ) => < Day history = { history } /> } />
52
- < PrivateRoute path = "/classroom/:id" render = { ( ) => < Classroom history = { history } /> } />
53
- < Route exact path = "/ccdashboard" >
54
- < ContentCreator history = { history } />
55
- </ Route >
56
- < Route exact path = "/unitcreator" >
57
- < UnitCreator history = { history } />
58
- </ Route >
59
- < Route exact path = "/addblocks" >
60
- < UploadBlocks history = { history } />
61
- </ Route >
31
+ < Route exact path = { "/" } render = { ( ) => < Home history = { history } /> } />
32
+ < Route exact path = { "/about" } render = { ( ) => < About history = { history } /> } />
33
+ < Route exact path = { "/teacherlogin" } render = { ( ) => < TeacherLogin history = { history } /> } />
34
+ < Route exact path = { "/login" } render = { ( ) => < StudentLogin history = { history } /> } />
35
+ < PrivateRoute exact path = { "/dashboard" } render = { ( ) => < Dashboard history = { history } /> } />
36
+ < PrivateRoute exact path = { "/student" } render = { ( ) => < Student history = { history } /> } />
37
+ < Route path = { "/workspace" } render = { ( ) => < Workspace history = { history } /> } />
38
+ < Route path = { "/sandbox" } render = { ( ) => < Sandbox history = { history } /> } />
39
+ < PrivateRoute exact path = { "/day" } render = { ( ) => < Day history = { history } /> } />
40
+ < PrivateRoute path = { "/classroom/:id" } render = { ( ) => < Classroom history = { history } /> } />
41
+ < Route exact path = { "/ccdashboard" } render = { ( ) => < ContentCreator history = { history } /> } />
42
+ < Route exact path = { "/unitcreator" } render = { ( ) => < UnitCreator history = { history } /> } />
43
+ < Route exact path = { "/addblocks" } render = { ( ) => < UploadBlocks history = { history } /> } />
62
44
63
45
< Route component = { NotFound } />
64
46
</ Switch >
0 commit comments