Hey, so my data table works and everything is good except that it's empty on page load and if navigating back to the data table page following an action (essentially back to page load).
Anybody have any tips?
Edit: I may believe this can actually be related to the conditional builder. There are two data tables which are part of the conditional builder and are shown based on which of the two buttons are clicked. However, I did default the "borrow" button and set it as true on page load, so idk =/
DataTable is empty on page load
Widgets & Design
My action button which inserts new rows into the data table updates the app states and then navigates back to the data table page. The new row IS added but the datatable is empty until you click on the screen with your mouse pointer.
Tried refresh database request on page load - doesn't work
Tried to query the supabase rows on page load
No
3
2 replies