Skip to content

Commit

Permalink
Use imports from fresh
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Sep 5, 2024
1 parent 2b3b94b commit 9be5c6e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion htmx/sections/htmx.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Head } from "$fresh/runtime.ts";
import type { SectionProps } from "@deco/deco";
import { useScript } from "@deco/deco/hooks";
import { Head } from "@deco/deco/htmx";
import type { AppContext, Extension } from "../mod.ts";

const script = (extensions: Extension[]) => {
Expand Down
2 changes: 1 addition & 1 deletion linx/hooks/context.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IS_BROWSER } from "@deco/deco";
import { IS_BROWSER } from "$fresh/runtime.ts";
import { signal } from "@preact/signals";
import { invoke } from "../runtime.ts";
import type { CartResponse } from "../utils/types/basketJSON.ts";
Expand Down
2 changes: 1 addition & 1 deletion nuvemshop/hooks/context.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IS_BROWSER } from "@deco/deco";
import { IS_BROWSER } from "$fresh/runtime.ts";
import { signal } from "@preact/signals";
import { invoke } from "../runtime.ts";
import { Cart } from "../utils/types.ts";
Expand Down
2 changes: 1 addition & 1 deletion shopify/hooks/context.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IS_BROWSER } from "@deco/deco";
import { IS_BROWSER } from "$fresh/runtime.ts";
import { signal } from "@preact/signals";
import { invoke } from "../runtime.ts";
import type { CartFragment } from "../utils/storefront/storefront.graphql.gen.ts";
Expand Down
2 changes: 1 addition & 1 deletion vnda/hooks/context.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IS_BROWSER } from "@deco/deco";
import { IS_BROWSER } from "$fresh/runtime.ts";
import { signal } from "@preact/signals";
import type { Cart } from "../loaders/cart.ts";
import { invoke } from "../runtime.ts";
Expand Down
2 changes: 1 addition & 1 deletion vtex/hooks/context.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IS_BROWSER } from "@deco/deco";
import { IS_BROWSER } from "$fresh/runtime.ts";
import { signal } from "@preact/signals";
import type { Person } from "../../commerce/types.ts";
import { invoke } from "../runtime.ts";
Expand Down
2 changes: 1 addition & 1 deletion wake/hooks/context.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IS_BROWSER } from "@deco/deco";
import { IS_BROWSER } from "$fresh/runtime.ts";
import { signal } from "@preact/signals";
import { Person } from "../../commerce/types.ts";
import { invoke } from "../runtime.ts";
Expand Down
2 changes: 1 addition & 1 deletion wap/hooks/context.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IS_BROWSER } from "@deco/deco";
import { IS_BROWSER } from "$fresh/runtime.ts";
import { signal } from "@preact/signals";
import { Person } from "../../commerce/types.ts";
import { invoke } from "../runtime.ts";
Expand Down
2 changes: 1 addition & 1 deletion website/components/Picture.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Head } from "@deco/deco";
import { Head } from "$fresh/runtime.ts";
import { type ComponentChildren, createContext, type JSX } from "preact";
import { forwardRef } from "preact/compat";
import { useContext, useMemo } from "preact/hooks";
Expand Down

0 comments on commit 9be5c6e

Please sign in to comment.