The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: remove manual JSON parse/stringify, handled by GoTrue
Akos7c1054c08173
diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-expo.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-expo.mdxindex bcbe40c50cd..6541bf460dc 100644--- a/apps/docs/pages/guides/getting-started/tutorials/with-expo.mdx+++ b/apps/docs/pages/guides/getting-started/tutorials/with-expo.mdx@@ -51,13 +51,11 @@ import * as SecureStore from "expo-secure-store";import { createClient } from '@supabase/supabase-js'const ExpoSecureStorageAdapter = {- getItem: async (key: string) => {- const value = (await SecureStore.getItemAsync(key)) as string;-- return JSON.parse(value);+ getItem: (key: string) => {+ return SecureStore.getItemAsync(key);},setItem: (key: string, value: string) => {- SecureStore.setItemAsync(key, JSON.stringify(value));+ SecureStore.setItemAsync(key, value);},removeItem: (key: string) => {SecureStore.deleteItemAsync(key);