style: added comments to code and changed name of Sidebar to DndToolbar
BREAKING: renamed Sidebar to DndToolbar. ref: N25B-114
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Link } from 'react-router'
|
||||
import {Link} from "react-router";
|
||||
import VisProgUI from "./visualProgrammingUI/VisProgUI.tsx";
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@ import VisProgUI from "./visualProgrammingUI/VisProgUI.tsx";
|
||||
function VisProgPage() {
|
||||
return (
|
||||
<>
|
||||
<VisProgUI />
|
||||
<Link to = {"/"}> {/* here you link to the homepage, in App.tsx you can link new pages */}
|
||||
<button className= 'movePage left' onClick={() :void => {}}>
|
||||
<VisProgUI/>
|
||||
<Link to={'/'}> {/* here you link to the homepage, in App.tsx you can link new pages */}
|
||||
<button className="movePage left" onClick={(): void => {}}>
|
||||
Page {'<'}-- Go Home
|
||||
</button>
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user