Skip to content

Commit

Permalink
debug ResizeObserver
Browse files Browse the repository at this point in the history
  • Loading branch information
aeltorio committed Nov 6, 2024
1 parent df9327a commit 0028a63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aipane/components/HeroComboPrompts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ const HeroComboPrompts: React.FC<HeroComboPromptsProps> = ({ onChange, standalon
useEffect(() => {
const resizeObserverErr = (e: any) => {
if (e.message === "ResizeObserver loop completed with undelivered notifications.") {
console.error("ResizeObserver loop error in HeroComboPrompts");
e.stopImmediatePropagation();
}
};
Expand Down

0 comments on commit 0028a63

Please sign in to comment.