File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ const App = () => {
88 < Router >
99 < Switch >
1010 < Route exact path = "/" component = { LandingPage } />
11- < Route path = "/AlgorithmVisualizer/#/ sorting" component = { SortingPage } />
12- < Route path = "/AlgorithmVisualizer/#/ graph" component = { GraphPage } />
11+ < Route path = "/sorting" component = { SortingPage } />
12+ < Route path = "/graph" component = { GraphPage } />
1313 </ Switch >
1414 </ Router >
1515 ) ;
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ export const LandingPage = () => {
77 < div className = "landingPage bubbles" >
88 { /* Navigation Buttons to Algorithms Visualizers */ }
99 < div id = "navigation" >
10- < button className = "btn" onClick = { event => window . location . href = '/sorting' } > Sorting</ button >
11- < button className = "btn" onClick = { event => window . location . href = '/graph' } > Graphs</ button >
10+ < button className = "btn" onClick = { event => window . location . href + ='/sorting' } > Sorting</ button >
11+ < button className = "btn" onClick = { event => window . location . href + ='/graph' } > Graphs</ button >
1212 </ div >
1313
1414 { /* Title*/ }
You can’t perform that action at this time.
0 commit comments