diff --git a/app/sections/ali-reviews/index.tsx b/app/sections/ali-reviews/index.tsx index 9f5be43b..b0a2c325 100644 --- a/app/sections/ali-reviews/index.tsx +++ b/app/sections/ali-reviews/index.tsx @@ -23,13 +23,12 @@ let AliReviewSection = forwardRef( export type AliReviewsLoaderData = Awaited>; -export let loader = async ({ weaverse }: ComponentLoaderArgs) => { +export let loader = async ({ weaverse }: ComponentLoaderArgs<{}, Env>) => { let res = await fetch( "https://widget-hub-api.alireviews.io/api/public/reviews", { method: "GET", headers: { - // @ts-ignore Authorization: `Bearer ${weaverse.env.ALI_REVIEWS_API_KEY}`, "Content-Type": "application/json", }, diff --git a/app/weaverse/create-weaverse.server.ts b/app/weaverse/create-weaverse.server.ts index 6cf2fbc3..9d50b3c2 100644 --- a/app/weaverse/create-weaverse.server.ts +++ b/app/weaverse/create-weaverse.server.ts @@ -1,6 +1,5 @@ import type { CreateWeaverseClientArgs } from "@weaverse/hydrogen"; import { WeaverseClient } from "@weaverse/hydrogen"; - import { components } from "~/weaverse/components"; import { themeSchema } from "~/weaverse/schema.server"; import type { AppLoadContext } from "@shopify/remix-oxygen"; diff --git a/package.json b/package.json index 304674a3..40cf2a73 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@weaverse/pilot", "private": true, "sideEffects": false, - "version": "2.6.13", + "version": "2.6.14", "type": "module", "author": "Weaverse", "scripts": { @@ -31,7 +31,7 @@ "@shopify/cli-hydrogen": "^8.1.0", "@shopify/hydrogen": "^2024.4.3", "@shopify/remix-oxygen": "^2.0.4", - "@weaverse/hydrogen": "^3.1.10", + "@weaverse/hydrogen": "^3.1.11", "class-variance-authority": "^0.7.0", "clsx": "2.1.1", "cross-env": "7.0.3", @@ -83,4 +83,4 @@ "engines": { "node": ">=18.0.0" } -} +} \ No newline at end of file