made new client the default export
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import client, { client2 } from "@/data/pocketbase";
|
||||
import client from "@/data/pocketbase";
|
||||
|
||||
import SiteLayout from "@/layouts/base";
|
||||
import ImageCarousel from "@/components/Detail/ImageCarousel";
|
||||
@@ -9,7 +9,7 @@ import InfoView from "@/components/Detail/InfoView";
|
||||
|
||||
const { recipeid } = Astro.params;
|
||||
|
||||
const re = await client2.getRecipe(recipeid as string)
|
||||
const re = await client.getRecipe(recipeid as string)
|
||||
---
|
||||
|
||||
<SiteLayout>
|
||||
|
||||
Reference in New Issue
Block a user