Skip to content

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

Fix Grammar/File Naming issus in "Update with-nextjs.mdx" (#27970)

Oliver Hogan1a96462aa93d
diff --git a/apps/docs/content/guides/getting-started/tutorials/with-nextjs.mdx b/apps/docs/content/guides/getting-started/tutorials/with-nextjs.mdx
index 84c31af812d..2cb6f52e66d 100644
--- a/apps/docs/content/guides/getting-started/tutorials/with-nextjs.mdx
+++ b/apps/docs/content/guides/getting-started/tutorials/with-nextjs.mdx
@@ -309,7 +309,7 @@ export async function updateSession(request) {
<TabPanel id="ts" label="TypeScript">
-Create a `middleware.ts` file at the project root and another one within the `util/supabase` folder. The `utils/supabase` file contains the logic for updating the session. This is used by the `middleware.js` file, which is a Next.js convention.
+Create a `middleware.ts` file at the project root and another one within the `utils/supabase` folder. The `utils/supabase` file contains the logic for updating the session. This is used by the `middleware.ts` file, which is a Next.js convention.
<CH.Code className="min-h-[30rem]">
@@ -418,7 +418,7 @@ export default function LoginPage() {
<TabPanel id="ts" label="TypeScript">
-Create a new folder named `login`, containing a `page.jsx` file with a login/signup form.
+Create a new folder named `login`, containing a `page.tsx` file with a login/signup form.
```tsx app/login/page.tsx
import { login, signup } from './actions'