I’m building a chess app using OOP atm and it’s built in a Next.JS framework. I\'ve done some refactoring in the app and it now isn\'t re-rendering the objects on the screen whe