Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

clean up code

Isaiah Hamiltond34b2343ec13
diff --git a/web/docs/guides/with-react-native.mdx b/web/docs/guides/with-react-native.mdx
index d815599c2ac..69a82abd153 100644
--- a/web/docs/guides/with-react-native.mdx
+++ b/web/docs/guides/with-react-native.mdx
@@ -166,7 +166,7 @@ We need the API URL and the `anon` key that you copied [earlier](#get-the-api-ke
These variables will be exposed on the browser, and that's completely fine since we have
[Row Level Security](/docs/guides/auth#row-level-security) enabled on our Database.
-```js title="lib/initSupabase.js"
+```js title="lib/supabase.js"
import { createClient } from '@supabase/supabase-js'
const supabaseUrl = YOUR_REACT_NATIVE_SUPABASE_URL
@@ -256,7 +256,7 @@ export default function Auth() {
const styles = StyleSheet.create({
container: {
marginTop: 40,
- padding: Styles.spacing,
+ padding: 12,
},
verticallySpaced: {
paddingTop: 4,
@@ -390,8 +390,6 @@ export default function Account({ session }) {
```
-
-
### Launch!
Now that we have all the components in place, let's update `app.js`: