fix(wrapper): unmount _HTMLGenericModal React content on hide#3717
fix(wrapper): unmount _HTMLGenericModal React content on hide#3717rxri merged 1 commit intospicetify:mainfrom
_HTMLGenericModal React content on hide#3717Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review infoConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA single line is added to Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
we dont need an additional check since
unmountComponentAtNodejust does nothing if the element is not a React rootcode snippet to verify that it works:
i did verify that it does not crash or anything if content is not a React element
Summary by CodeRabbit