Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Commit

Permalink
last last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
phu0n9 committed Jan 18, 2022
1 parent ae299db commit 3c3b54d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function App() {
}
return (
<UserContext.Provider value={getUserId()}>
<UserRoleContext.Provider >
<UserRoleContext.Provider value={getUserRole()}>
<NavBar />
<Routes>
{/* Redirect pages */}
Expand Down
10 changes: 5 additions & 5 deletions src/components/AdsCategoryCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const AdsCategoryCard = ({ url, city, color }) => {
<li></li>
<li></li>
</ul>
<Link to='/rental' state={{ data: "hello" }}>
Explore
</Link>

{/* <a href="/rental" city={city} className="btn-buy">Explore</a> */}
<Button className="btn-buy">
<Link to='/rental'>
Explore
</Link>
</Button>
</div>
</div>
);
Expand Down
3 changes: 0 additions & 3 deletions src/components/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ export default function NavBar() {
/>{" "}
</a>
<ul>
<li>
<a href="/auth/profile">Profile</a>
</li>
<li>
<a href="/auth/calendar">Calendar</a>
</li>
Expand Down

0 comments on commit 3c3b54d

Please sign in to comment.