You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I have built a react app which uses supabase as its remote state. I have a database table called settings as follows:
I have set RLS for read and update for all users.
On the other hand inside my project, I use react-query and react-hook-form npm packages to manage the
remote state; to do so , i have written api functions for supabase and custom hook for react-query as follows:
And
I have built another component called UpdateSettingsForm as follows which uses settings table's data:
So far, everything is good, this is the screenshot of my app:
But when i am going to use the Form component, Like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,

I have built a react app which uses supabase as its remote state. I have a database table called settings as follows:
I have set RLS for read and update for all users.
On the other hand inside my project, I use react-query and react-hook-form npm packages to manage the


remote state; to do so , i have written api functions for supabase and custom hook for react-query as follows:
And
I have built another component called UpdateSettingsForm as follows which uses settings table's data:

So far, everything is good, this is the screenshot of my app:

But when i am going to use the Form component, Like this:

I get this error:

Beta Was this translation helpful? Give feedback.
All reactions