Skip to content

Commit

Permalink
navbar bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yashmandi committed Jun 17, 2024
1 parent 232ae6b commit 9d18812
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const App = () => {
setLoading(false);
}, 500);
};

handleRouteChange();
}, [location]);

Expand Down Expand Up @@ -53,7 +52,6 @@ const AppWithRouter = () => (
<Router>
<App />
</Router>

);

export default AppWithRouter;
6 changes: 3 additions & 3 deletions frontend/src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ const Navbar = ({ userInfo, onSearchNote, handleClearSearch }) => {
};

return (
<div className='bg-white flex items-center justify-between px-4 py-2 drop-shadow-md'>
<div className='bg-white flex items-center justify-between px-4 py-2 drop-shadow-md '>

<Link to='/'>
<div className='flex items-center p-1 '>
<img src="/logo.png" className='h-10' />
<h2 className='text-2xl font-medium py- ml-[-12px] mt-2'>cribbie</h2>
<img src="/logo.png" className='h-10 ' />
<h2 className='text-2xl font-medium py- ml-[-12px] text-[#2B2B2B] mt-2'>cribbie</h2>
</div>
</Link>

Expand Down

0 comments on commit 9d18812

Please sign in to comment.