I set an app state variable from an text field (search) on change. This is working fine.
I have an API Call to my SupaBase table which is returning the correct respons when I test it.
But when I test, in an test session, the respons is an empty string ( [] ).
I think this is because the appstate is not correctly passed into the API.