it looks like a caching issue, try clearing the WP Rocket cache and the browser caches.
Whilst developing your site, i would recommend you disable WP Rocket, as you may spend a lot of time clearing its caches if changes aren’t displayed correctly. Once the work is done, then enable WP Rocket 🙂