You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running into this issue with the FhirResource object also.
// imortsimport{FhirResource,fhirVersions}from'fhir-react';// elsewhere in file<Card><ErrorBoundary><FhirResourcefhirResource={getResourceForDynamicComponent(get(props,'patient'),12)}fhirVersion={fhirVersions.R4}fhirIcons="https://www.gravatar.com/avatar/?s=50&r=any&default=identicon&forcedefault=1"withCarinBBProfile/></ErrorBoundary></Card>
Background:
Warning: validateDOMNesting(...): <button> cannot appear as a descendant of <button>.
Expected Behavior:
<button>
element shouldn't be rendering another button inside of it.The issue is in
src/components/containers/Accordion/Accordion.js:77
where<button>
should be potentially replaced with a<div>
src/components/containers/Accordion/Accordion.js:108
there is the logic that rendersrawButton
Screenshots:
The text was updated successfully, but these errors were encountered: