NextJs 14.1 with tanstack query
During development, the query fetches data from the database and reflects any updates made to the database. However, after building the app, the data retrieved by the query becomes static and does not update even if changes are made to the database.