Skip to content

Commit

Permalink
Refactor Logo component import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
hta218 committed Aug 17, 2024
1 parent 999874b commit 728b923
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/modules/Logo.tsx → app/components/Logo.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Image } from "@shopify/hydrogen";
import { useThemeSettings } from "@weaverse/hydrogen";
import clsx from "clsx";
import { Link } from "./Link";
import { Link } from "~/modules/Link";

export function Logo({
isTransparent,
Expand Down
2 changes: 1 addition & 1 deletion app/modules/header/DesktopHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import { useThemeSettings } from "@weaverse/hydrogen";
import { Suspense, useEffect, useState } from "react";
import useWindowScroll from "react-use/esm/useWindowScroll";
import { IconMagnifyingGlass, IconUser } from "~/components/Icons";
import { Logo } from "~/components/Logo";
import { cn } from "~/lib/cn";
import { type EnhancedMenu, useIsHomePath } from "~/lib/utils";
import { PredictiveSearch } from "~/modules/predictive-search/PredictiveSearch";
import type { RootLoader } from "~/root";
import { Drawer, useDrawer } from "../Drawer";
import { Logo } from "../Logo";
import { CartCount } from "./CartCount";
import { DesktopMenu } from "./menu/DesktopMenu";

Expand Down
2 changes: 1 addition & 1 deletion app/modules/header/MobileHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import clsx from "clsx";
import { Suspense } from "react";
import useWindowScroll from "react-use/esm/useWindowScroll";
import { IconList, IconMagnifyingGlass, IconUser } from "~/components/Icons";
import { Logo } from "~/components/Logo";
import { useIsHomePath } from "~/lib/utils";
import type { RootLoader } from "~/root";
import { Logo } from "../Logo";
import { CartCount } from "./CartCount";

export function MobileHeader({
Expand Down

0 comments on commit 728b923

Please sign in to comment.