What is happening
I just realised my answer was being wrongly rendered. The title is rendered as ### title
and not in the correct format.
I went to edit it, but the preview shows it the way I was expecting. Saving it doesn't change anything.
Reproducible here
1. (Stopped working) Use function as useEffect
callback
useEffect
callbackuseEffect(fetchBusinesses, [])
### 2. Declare function inside `useEffect()`
useEffect(() => {
function fetchBusinesses() {
...
}
fetchBusinesses()
}, [])
Expected behavior
The Preview should be the same as the end result. And the end result should render correctly.
There is one question for a similar issue, but what fixed that doesn't fix this one (I tried editing the post and saving again). Final answer rendering is different in the editor preview