I have a list view on a page which shows a list of questions from my supabase database. I have a button to add a new question, which opens a new bottom sheet (which includes a component) with text fields to add the questions. However, after adding the question and dismissing the bottom sheet, the list view on the page doesn't update with the new question.
I do not see any options to refresh a database request from an action triggered from the component.
What's the best way to make sure the list view on a separate page updates when the database is updated.
TIA