Skip to content

Commit

Permalink
fix: navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
muritadb committed Aug 28, 2024
1 parent 3c33858 commit 95a2578
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/petdex/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import { Menu } from './assets/Menu'
function Navbar() {
const [isOpen, setIsOpen] = useState(false)
const [isSearch, setIsSearch] = useState(true)
//state pra lidar com menu responsivo
//fn para abrir men u responsivo

const handleButton = () => setIsOpen(o => !o)

const handleSearchButton = () => setIsSearch(s => !s)
Expand Down

0 comments on commit 95a2578

Please sign in to comment.