From d8f85018c6abaae4b91f36883cc41fa56bda1dc7 Mon Sep 17 00:00:00 2001 From: Ai Ling Date: Thu, 3 Nov 2022 16:13:56 +0800 Subject: [PATCH] [offers][fix] Fix import error --- apps/portal/src/components/offers/features/LeftTextCard.tsx | 2 +- apps/portal/src/components/offers/features/RightTextCard.tsx | 2 +- apps/portal/src/pages/offers/features.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/portal/src/components/offers/features/LeftTextCard.tsx b/apps/portal/src/components/offers/features/LeftTextCard.tsx index b4fac765..867b24b7 100644 --- a/apps/portal/src/components/offers/features/LeftTextCard.tsx +++ b/apps/portal/src/components/offers/features/LeftTextCard.tsx @@ -2,7 +2,7 @@ import type { StaticImageData } from 'next/image'; import Image from 'next/image'; import type { ReactNode } from 'react'; -import { HOME_URL } from '~/components/offers/types'; +import { HOME_URL } from '../constants'; type LeftTextCardProps = Readonly<{ description: string; diff --git a/apps/portal/src/components/offers/features/RightTextCard.tsx b/apps/portal/src/components/offers/features/RightTextCard.tsx index 9ca0f949..028dc57b 100644 --- a/apps/portal/src/components/offers/features/RightTextCard.tsx +++ b/apps/portal/src/components/offers/features/RightTextCard.tsx @@ -2,7 +2,7 @@ import type { StaticImageData } from 'next/image'; import Image from 'next/image'; import type { ReactNode } from 'react'; -import { HOME_URL } from '~/components/offers/types'; +import { HOME_URL } from '../constants'; type RightTextCarddProps = Readonly<{ description: string; diff --git a/apps/portal/src/pages/offers/features.tsx b/apps/portal/src/pages/offers/features.tsx index 77ca380c..da0cc28d 100644 --- a/apps/portal/src/pages/offers/features.tsx +++ b/apps/portal/src/pages/offers/features.tsx @@ -8,12 +8,12 @@ import { UsersIcon, } from '@heroicons/react/24/outline'; +import { HOME_URL } from '~/components/offers/constants'; import offersAnalysis from '~/components/offers/features/images/offers-analysis.png'; import offersBrowse from '~/components/offers/features/images/offers-browse.png'; import offersProfile from '~/components/offers/features/images/offers-profile.png'; import LeftTextCard from '~/components/offers/features/LeftTextCard'; import RightTextCard from '~/components/offers/features/RightTextCard'; -import { HOME_URL } from '~/components/offers/types'; const features = [ {