Replace createServerClient with createClient in multiple files (#30)
The `createServerClient` function has been replaced with the `createClient` function in the `server-actions.client.ts`, `route-handler.client.ts`, and `server-component.client.ts` files. This includes adding necessary import statements for `createClient` and adjusting the options passed to it, including `persistSession`, `detectSessionInUrl`, and `autoRefreshToken`.
This commit is contained in:
committed by
GitHub
parent
cbf116c688
commit
7f4bfb15e5
@@ -56,7 +56,7 @@
|
||||
"@radix-ui/react-icons": "^1.3.0",
|
||||
"@supabase/supabase-js": "^2.43.4",
|
||||
"@tanstack/react-query": "5.40.0",
|
||||
"@tanstack/react-query-next-experimental": "^5.39.0",
|
||||
"@tanstack/react-query-next-experimental": "^5.40.0",
|
||||
"@tanstack/react-table": "^8.17.3",
|
||||
"date-fns": "^3.6.0",
|
||||
"lucide-react": "^0.379.0",
|
||||
@@ -86,7 +86,7 @@
|
||||
"dotenv-cli": "^7.4.2",
|
||||
"eslint": "^8.57.0",
|
||||
"prettier": "^3.2.5",
|
||||
"supabase": "^1.169.6",
|
||||
"supabase": "^1.169.8",
|
||||
"tailwindcss": "3.4.3",
|
||||
"typescript": "^5.4.5"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user