Streamlit ag-grid component loading error

The faster my app got with efficient sql queries, the more this error pops up when i run my app (seems to be more prevalent when i run the app the first time, then after refresh it disappears). Is this because ag-grid takes load time and if the app is too fast in other areas and wants to load it immediately this yellow error appears? Why wouldn’t the app just wait until it is ready and show the grid rather than give this error block?

Any help would be appreciated to not have this pop up appear for my users, thanks!