Ghost/apps/comments-ui/src
Kevin Ansfield dd3bc06761
🐛 Fixed comments block disappearing when performing certain actions (#19846)
closes https://linear.app/tryghost/issue/ENG-739

- `props.innerRef` in `<IFrame>` was inadvertently assumed to always exist, sometimes throwing an error on render when certain popups like the profile settings modal were opened resulting in the app crashing and the whole comments block disappearing
- added a guard to ensure the ref exists before trying to set it
- updated tests so the profile modal route is tested
2024-03-12 17:39:36 +00:00
..
components 🐛 Fixed comments block disappearing when performing certain actions (#19846) 2024-03-12 17:39:36 +00:00
images/icons
styles
utils Switched to default ordering for comments API requests (#19774) 2024-02-28 18:42:02 +00:00
actions.ts
App.tsx Added lazy-loading of admin auth in Comments UI (#19799) 2024-03-05 15:57:20 +00:00
AppContext.ts
AuthFrame.tsx
index.tsx
pages.ts
setupTests.ts
typings.d.ts
vite-env.d.ts