A feature supported by our plugin is removing the preview if you delete/edit the target word, this is currently erroring out on main branch with
Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at al (react-dom.min.js?ver=18.2.0:10:82583) at Rt (react-dom.min.js?ver=18.2.0:10:50491) at react-dom.min.js?ver=18.2.0:10:50350 at s (data.min.js?ver=e6595ba1a7cd34429f66:9:2282) at c (data.min.js?ver=e6595ba1a7cd34429f66:9:2308) at data.min.js?ver=e6595ba1a7cd34429f66:2:20459 at data.min.js?ver=e6595ba1a7cd34429f66:2:18787 at h (data.min.js?ver=e6595ba1a7cd34429f66:2:8145) at data.min.js?ver=e6595ba1a7cd34429f66:2:11025 at redux-routine.min.js?ver=b14553dce2bee5c0f064:9:750
https://react.dev/errors/185?invariant=185
Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
QA instructions
As shown in video above, the plugin should not crash when attempting to remove the preview either by clicking the remove button or by directly deleting a character from the target word. Instead, the preview should simply be removed
QA Results - WordPress Dev
AC | Status | Details |
---|---|---|
1 | ✅ | T367115#9882350 |