Skip to content

Commit 7f0b307

Browse files
committed
fix: import Image instead of BcImage (#1719)
1 parent 66a034c commit 7f0b307

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

core/vibes/soul/primitives/navigation/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { useFormStatus } from 'react-dom';
2222

2323
import { Stream, Streamable } from '@/vibes/soul/lib/streamable';
2424
import { Button } from '@/vibes/soul/primitives/button';
25-
import { BcImage as Image } from '~/components/bc-image';
25+
import { Image } from '~/components/image';
2626
import { Link } from '~/components/link';
2727
import { usePathname } from '~/i18n/routing';
2828

core/vibes/soul/primitives/product-card/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { clsx } from 'clsx';
22

33
import { Badge } from '@/vibes/soul/primitives/badge';
44
import { Price, PriceLabel } from '@/vibes/soul/primitives/price-label';
5-
import { BcImage as Image } from '~/components/bc-image';
5+
import { Image } from '~/components/image';
66
import { Link } from '~/components/link';
77

88
import { Compare } from './compare';

core/vibes/soul/primitives/products-list/compare-drawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { parseAsArrayOf, parseAsString, useQueryState } from 'nuqs';
55

66
import { Button } from '@/vibes/soul/primitives/button';
77
import { Drawer } from '@/vibes/soul/primitives/drawer';
8-
import { BcImage as Image } from '~/components/bc-image';
8+
import { Image } from '~/components/image';
99
import { Link } from '~/components/link';
1010

1111
function getInitials(name: string): string {

core/vibes/soul/sections/footer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { clsx } from 'clsx';
2-
import Image from 'next/image';
32
import { forwardRef, ReactNode, type Ref } from 'react';
43

54
import { Stream, Streamable } from '@/vibes/soul/lib/streamable';
5+
import { Image } from '~/components/image';
66
import { Link } from '~/components/link';
77

88
interface Image {

core/vibes/soul/sections/slideshow/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import Autoplay from 'embla-carousel-autoplay';
66
import Fade from 'embla-carousel-fade';
77
import useEmblaCarousel from 'embla-carousel-react';
88
import { Pause, Play } from 'lucide-react';
9-
import Image from 'next/image';
109
import { useCallback, useEffect, useState } from 'react';
1110

1211
import { ButtonLink } from '@/vibes/soul/primitives/button-link';
12+
import { Image } from '~/components/image';
1313

1414
interface Slide {
1515
title: string;

0 commit comments

Comments
 (0)