Skip to content

Commit

Permalink
Merge pull request #53 from BacPacNet/user-Profile-ui
Browse files Browse the repository at this point in the history
log added
  • Loading branch information
bacpactech authored Jun 6, 2024
2 parents b717e22 + 9220a29 commit 92081ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const Navbar: React.FC = () => {
const handleClick = (item: string) => {
setActiveItem(item)
}
console.log('first')

useEffect(() => {
if (width.toString() > '769') {
Expand Down Expand Up @@ -81,7 +82,7 @@ const Navbar: React.FC = () => {
<div className="flex w-full center-v justify-between">
<div className="w-1/6">
<div className="flex">
<Link className="flex gap-4 center-v" href="/">
<Link onClick={() => setActiveItem('')} className="flex gap-4 center-v" href="/">
<Image src={unibuzzLogo} alt="BACPAC LOGO" className="h-full w-full cursor-pointer" />
<span>Unibuzz</span>
</Link>
Expand Down

0 comments on commit 92081ce

Please sign in to comment.