Unverified Commit 10745888 authored by Tom Moses's avatar Tom Moses Committed by GitHub

examples(with-supabase): fix import statement in tutorial (#83605)

Fixed import statements in tutorial code to point to files in the
correct folders.
Co-authored-by: 's avatarJoseph <joseph.chamochumbi@vercel.com>
parent 89ab752a
...@@ -18,7 +18,7 @@ create policy "Allow public read access" on notes ...@@ -18,7 +18,7 @@ create policy "Allow public read access" on notes
for select for select
using (true);`.trim(); using (true);`.trim();
const server = `import { createClient } from '@/utils/supabase/server' const server = `import { createClient } from '@/lib/supabase/server'
export default async function Page() { export default async function Page() {
const supabase = await createClient() const supabase = await createClient()
...@@ -30,7 +30,7 @@ export default async function Page() { ...@@ -30,7 +30,7 @@ export default async function Page() {
const client = `'use client' const client = `'use client'
import { createClient } from '@/utils/supabase/client' import { createClient } from '@/lib/supabase/client'
import { useEffect, useState } from 'react' import { useEffect, useState } from 'react'
export default function Page() { export default function Page() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment