Skip to content

Commit

Permalink
Add button for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ltan02 committed Feb 4, 2024
1 parent d005317 commit 4795346
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/pages/HomePage.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import React from 'react';
import { useNavigate } from "react-router";
import NavBar from '../components/nav-bar/NavBar';

export default function HomePage() {
const navigate = useNavigate();

return (
<div className="App">
<NavBar />
<button type="button" className="btn btn-primary" onClick={() => navigate("/onboard")}>Click me</button>
</div>
);
}

0 comments on commit 4795346

Please sign in to comment.