No dynamic imports

This commit is contained in:
Henrik Larsson 2023-08-28 15:14:24 +02:00
parent 4cfa5d4a51
commit f2c7f184f2
2 changed files with 7 additions and 9 deletions

View File

@ -1,12 +1,11 @@
import dynamic from 'next/dynamic';
import BlurbSection from '@/components/modules/blurb-section/blurb-section';
import FilteredProductList from '@/components/modules/filtered-product-list/filtered-product-list';
import Hero from '@/components/modules/hero';
import ReusableSection from '@/components/modules/reusable-section/reusable-section';
import Slider from '@/components/modules/slider/slider';
import USPSection from '@/components/modules/usp-section/usp-section';
import { InformationCircleIcon } from '@heroicons/react/24/outline';
import Hero from 'components/modules/hero';
import ReusableSection from 'components/modules/reusable-section/reusable-section';
const USPSection = dynamic(() => import('components/modules/usp-section'));
const Slider = dynamic(() => import('components/modules/slider'));
const BlurbSection = dynamic(() => import('components/modules/blurb-section'));
const FilteredProductList = dynamic(() => import('components/modules/filtered-product-list'));
interface getContentComponentProps {
_type: string;
_key: number;

View File

@ -1,6 +1,5 @@
import dynamic from 'next/dynamic';
import DynamicContentManager from 'components/layout/dynamic-content-manager';
const DynamicContentManager = dynamic(() => import('components/layout/dynamic-content-manager'));
interface ReusableSectionProps {
section: {
existingSection: {