Skip to content

Commit

Permalink
Add @types/react-router-dom and [email protected] dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
amirrr committed Apr 26, 2024
1 parent 771ce36 commit 5f7b8f7
Show file tree
Hide file tree
Showing 5 changed files with 145 additions and 70 deletions.
2 changes: 2 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
},
"dependencies": {
"@dagrejs/dagre": "^1.0.4",
"@types/react-router-dom": "^5.3.3",
"dagre": "^0.8.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.23.0",
"reactflow": "^11.10.3"
},
"devDependencies": {
Expand Down
16 changes: 13 additions & 3 deletions client/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
import Dashboard from "./components/Builder/Dashboard";
import WorkflowProvider from "./context/WorkflowProvider";
import { ReactFlowProvider } from "reactflow";
import { BrowserRouter as Router, Link } from "react-router-dom";

function App() {
return (
<>
<ReactFlowProvider>
<WorkflowProvider>
<div>
<Dashboard />
</div>
<Router>
<ul>
<li>
<Link to="/dashboard">
<Dashboard />
</Link>
</li>
<li>
<Link to="/table">Zillow Group</Link>
</li>
</ul>
</Router>
</WorkflowProvider>
</ReactFlowProvider>
</>
Expand Down
Empty file added client/src/pages/Home.tsx
Empty file.
Empty file added client/src/pages/Table.tsx
Empty file.
197 changes: 130 additions & 67 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5f7b8f7

Please sign in to comment.