Bob AI: fix build error in src/pages/HomePage.tsx
This commit is contained in:
@@ -5,7 +5,16 @@ import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRev
|
||||
import HeroCenteredLogos from '@/components/sections/hero/HeroCenteredLogos';
|
||||
import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards';
|
||||
import TeamOverlayCards from '@/components/sections/team/TeamOverlayCards';
|
||||
import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards';
|
||||
import TestimonialRatingCardsOriginal from '@/components/sections/testimonial/TestimonialRatingCards';
|
||||
|
||||
const TestimonialRatingCards = (props: any) => {
|
||||
const { testimonials, ...rest } = props;
|
||||
const cleanTestimonials = testimonials?.map((t: any) => {
|
||||
const { id, ...restT } = t;
|
||||
return restT;
|
||||
});
|
||||
return <TestimonialRatingCardsOriginal {...rest} testimonials={cleanTestimonials} />;
|
||||
};
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function HomePage() {
|
||||
|
||||
Reference in New Issue
Block a user