Change div to button

This commit is contained in:
danidfra 2024-11-12 13:00:38 -03:00
parent 5252e1212c
commit 278d8b7099
1 changed files with 1 additions and 2 deletions

View File

@ -172,9 +172,8 @@ const SidebarMenu: React.FC = (): JSX.Element | null => {
})
}
>
<div
<button
className='fixed inset-0 bg-gray-500/90 black:bg-gray-900/90 dark:bg-gray-700/90'
role='button'
onClick={handleClose}
/>