Skip to content

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

Fix step numbers

dannykng25e3ddb06b2e
diff --git a/apps/docs/pages/guides/getting-started/quickstarts/reactjs.mdx b/apps/docs/pages/guides/getting-started/quickstarts/reactjs.mdx
index da4f7431bb3..e890e3e0111 100644
--- a/apps/docs/pages/guides/getting-started/quickstarts/reactjs.mdx
+++ b/apps/docs/pages/guides/getting-started/quickstarts/reactjs.mdx
@@ -3,7 +3,8 @@ import StepHikeCompact from '~/components/StepHikeCompact'
export const meta = {
title: 'Use Supabase with React',
- subtitle: 'Learn how to create a Supabase project, add some sample data to your database, and query the data from a React app.',
+ subtitle:
+ 'Learn how to create a Supabase project, add some sample data to your database, and query the data from a React app.',
breadcrumb: 'Framework Quickstarts',
}
@@ -58,7 +59,7 @@ export const meta = {
<StepHikeCompact.Details title="Install the Supabase client library">
The fastest way to get started is to use the `supabase-js` client library which provides a convenient interface for working with Supabase from a React app.
-
+
Navigate to the React app and install `supabase-js`.
</StepHikeCompact.Details>
@@ -73,11 +74,11 @@ export const meta = {
</StepHikeCompact.Step>
- <StepHikeCompact.Step step={5}>
+ <StepHikeCompact.Step step={4}>
<StepHikeCompact.Details title="Query data from the app">
In `index.js`, create a Supabase client using your [Project URL and public API (anon) key](https://app.supabase.com/project/_/settings/api).
-
+
Add a `getCountries` function to fetch the data and log the query result to the browser console.
</StepHikeCompact.Details>
@@ -101,7 +102,7 @@ export const meta = {
</StepHikeCompact.Step>
- <StepHikeCompact.Step step={6}>
+ <StepHikeCompact.Step step={5}>
<StepHikeCompact.Details title="Start the app">
Start the app, go to http://localhost:3000 in a browser, and open the browser console and you should see the list of countries.