-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
What package within Headless UI are you using?
@headlessui/react
next
What version of that package are you using?
@headlessui/react: v1.7.15
next: v13.4.12
What browser are you using?
Chrome (114.0.5735.199), Microsoft Edge (114.0.1823.82)
Reproduction URL
'use client';
import { Menu } from '@headlessui/react';
export default function Home() {
return (
<Menu as="div" className="relative inline-flex">
<Menu.Button>
<span className="sr-only">Notifications</span>
<svg className="h-4 w-4" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path
className="fill-current text-slate-500 dark:text-slate-400"
d="M6.5 0C2.91 0 0 2.462 0 5.5c0 1.075.37 2.074 1 2.922V12l2.699-1.542A7.454 7.454 0 006.5 11c3.59 0 6.5-2.462 6.5-5.5S10.09 0 6.5 0z"
/>
<path
className="fill-current text-slate-400 dark:text-slate-500"
d="M16 9.5c0-.987-.429-1.897-1.147-2.639C14.124 10.348 10.66 13 6.5 13c-.103 0-.202-.018-.305-.021C7.231 13.617 8.556 14 10 14c.449 0 .886-.04 1.307-.11L15 16v-4h-.012C15.627 11.285 16 10.425 16 9.5z"
/>
</svg>
<div className="absolute right-0 top-0 h-2.5 w-2.5 rounded-full border-2 border-white bg-rose-500 dark:border-[#182235]"></div>
</Menu.Button>
</Menu>
)
}Describe your issue
When I use Menu from @headlessui/react, the warning is produced, but this warning does not exist in next v13.4.10.
kaisergeX, glenncai, DIYgod, LouisACR, Jaynarol and 6 more
Metadata
Metadata
Assignees
Labels
No labels