Jon Gilkison

Results 34 comments of Jon Gilkison

@ammuench's async useSupabaseUser solved MFA headaches for me in SSR.

I lifted his pull request into a composable that I use now instead of `useSupabaseUser`: ```ts import type { User } from "@supabase/supabase-js"; import { useState } from "#imports"; export...

You just need to add to your index.d.ts: ```typescript declare module 'sanity' { interface SlugOptions { urlPrefix?: string } } ```

What custom prefix? Also, what other plugins are you using? The error is caused because somehow the `parsePrefix()` function is being called before WordPress is fully loaded.