Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
liamdebeasi committed Aug 28, 2023
1 parent b5d4601 commit 822966d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/utils/framework-delegate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const CoreDelegate = () => {
* The delegate host wrapper el is only needed for modals and popovers
* because they allow the dev to provide custom content to the overlay.
*/
const root = ChildComponent = BaseComponent.children[0] as HTMLElement;
const root = (ChildComponent = BaseComponent.children[0] as HTMLElement);
if (!root.classList.contains('ion-delegate-host')) {
/**
* If the root element is not a delegate host, it means
Expand Down

0 comments on commit 822966d

Please sign in to comment.