diff --git a/src/components/common/CollapseCommon/CollapseCommon.tsx b/src/components/common/CollapseCommon/CollapseCommon.tsx index 4f020ae90..2e378abf9 100644 --- a/src/components/common/CollapseCommon/CollapseCommon.tsx +++ b/src/components/common/CollapseCommon/CollapseCommon.tsx @@ -1,7 +1,7 @@ import CollapseChild from './CollapseChild/CollapseChild' interface CollapseCommonProps{ - data: {title: string, content: string, link: string}[], + data: {title: string, content: string}[], } const CollapseCommon = ({data}: CollapseCommonProps) => { @@ -9,7 +9,7 @@ const CollapseCommon = ({data}: CollapseCommonProps) => {
{ data.map((item,index) => - + ) }
diff --git a/src/components/modules/delivery-policy/DeliveryAndPolicyContent/DeliveryAndPolicyContent.tsx b/src/components/modules/delivery-policy/DeliveryAndPolicyContent/DeliveryAndPolicyContent.tsx index 84307deaf..6045288f6 100644 --- a/src/components/modules/delivery-policy/DeliveryAndPolicyContent/DeliveryAndPolicyContent.tsx +++ b/src/components/modules/delivery-policy/DeliveryAndPolicyContent/DeliveryAndPolicyContent.tsx @@ -1,6 +1,5 @@ import { CollapseCommon, DateTime, HeadingCommon } from 'src/components/common' import s from './DeliveryAndPolicyContent.module.scss' -import { ROUTE } from 'src/utils/constanst.utils' interface DeliveryAndPolicyContentProps{ title?: string, @@ -22,7 +21,6 @@ const DELIVERYANDPOLICY_DATA = [ Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to. This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`, - link: `${ROUTE.PRIVACY_POLICY}/title` }, { title: "This is a subtitle", @@ -31,7 +29,6 @@ const DELIVERYANDPOLICY_DATA = [ Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to. This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`, - link: `${ROUTE.PRIVACY_POLICY}/title` }, { title: "This is a subtitle", @@ -40,7 +37,6 @@ const DELIVERYANDPOLICY_DATA = [ Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to. This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`, - link: `${ROUTE.PRIVACY_POLICY}/title` }, { title: "This is a subtitle", @@ -49,7 +45,6 @@ const DELIVERYANDPOLICY_DATA = [ Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to. This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`, - link: `${ROUTE.PRIVACY_POLICY}/title` }, { title: "This is a subtitle", @@ -58,7 +53,6 @@ const DELIVERYANDPOLICY_DATA = [ Some people aren’t into raw broccoli, but I love it! I always go for the raw broccoli on those vegetable platters that seem to be at every potluck/party you go to. This is a simple broccoli salad: you have the bulk of it, raw broccoli; crunchy red onions for a bit of acidity and raw crunch, craisins for sweetness, almonds for a nutty counter point; and a sweet and tangy soy-rice vinegar-sesame dressing.`, - link: `${ROUTE.PRIVACY_POLICY}/title` }, ]