Describe the bug
I am receiving this error on the Accordion component after updating from React 18 to 19: "Invalid prop data-headlessui-state supplied to React.Fragment. React.Fragment can only have key and children props."
Gemini thinks that the issue is related to passing a fragment to the element, which is no longer allowed in React 19. https://github.com/USACE/groundwork/blob/main/lib/components/display/accordion.jsx.
I think the specific issue is on Line 24 "<>". Replacing the <></> with a
tag may fix the issue, or adding an as="div" to the Disclosure tag. I haven't tried either, however.
REDACTED relevant log output
Steps to Reproduce
No response
Describe the bug
I am receiving this error on the Accordion component after updating from React 18 to 19: "Invalid prop
data-headlessui-statesupplied toReact.Fragment. React.Fragment can only havekeyandchildrenprops."Gemini thinks that the issue is related to passing a fragment to the element, which is no longer allowed in React 19. https://github.com/USACE/groundwork/blob/main/lib/components/display/accordion.jsx.
I think the specific issue is on Line 24 "<>". Replacing the <></> with a
tag may fix the issue, or adding an as="div" to the Disclosure tag. I haven't tried either, however.REDACTED relevant log output
Steps to Reproduce
No response