but in localhost i can perform crud operations jus...
# off-topic
b
but in localhost i can perform crud operations just fine
g
Possibly your client keys are not getting set?
b
That’s the thing I didn’t use env variables
And it’s like it cached it and after we made like 3 insertions in the table it froze
g
Any errors on the network calls?
b
No just a null return
g
Is the code running server side to supabase, or from a browser to supabase?
b
Running on Vercel
Just feels odd that it worked for a bit
Then it froze
g
But it runs from localhost still and Supabase UI is fine? So the code is running server side making the calls, so you can't see the actual network calls.
b
Yeah
Localhost updates just fine
I cannot I guess
g
Seems like bad token key... Can you console.log your keys right before createClient? Does not explain it working for a moment though
b
Does it have a ratelimit
I deleted the project right
Created it again
It showed the 1 post there is
But I can’t do anything again
Wtf lol
g
only rate limit is on auth signups
b
Select policy is just true
So this is really weird
g
Is your app crashing on vercel somehow silently or looping?
b
Ima make the repo public 2 sec
g
Does your static props read the posts?
b
It does on localhost
Should it be serverSideProps ?
Oh shit it should
Well thanks for leading me to realisation 😂