Skip to content

Commit

Permalink
fix DrawerActivator
Browse files Browse the repository at this point in the history
  • Loading branch information
lerte committed Oct 18, 2024
1 parent d1923d8 commit aee3817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/docs/src/components/AppDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function AppDrawer() {
placement="left"
className="overflow-hidden"
>
<NavigationDrawer.Activator className="md:hidden">
<NavigationDrawer.Activator asChild className="md:hidden">
<IconButton color="primary">
<Icon>menu</Icon>
</IconButton>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const DrawerActivator = (props: DrawerActivatorProps) => {
// @ts-ignore
...children.props,
role: 'button',
onClick: handleClick
onPress: handleClick
})
}

Expand Down

0 comments on commit aee3817

Please sign in to comment.