Skip to content

Commit

Permalink
Fix typo (#623)
Browse files Browse the repository at this point in the history
bowser -> browser
  • Loading branch information
iammosespaulr authored Aug 25, 2023
1 parent a389eca commit eb83df5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/shared/src/createClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ export function createSupabaseClient<
};
}
) {
const bowser = isBrowser();
const browser = isBrowser();

return createClient<Database, SchemaName, Schema>(supabaseUrl, supabaseKey, {
...options,
auth: {
flowType: 'pkce',
autoRefreshToken: bowser,
detectSessionInUrl: bowser,
autoRefreshToken: browser,
detectSessionInUrl: browser,
persistSession: true,
storage: options.auth.storage,

Expand Down

0 comments on commit eb83df5

Please sign in to comment.