From 84b18f070ce6382ea72dab7d23578c6058e4c549 Mon Sep 17 00:00:00 2001 From: Peter Barnum Date: Tue, 11 Jun 2024 17:21:31 -0600 Subject: [PATCH] move import --- pages/contact/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/contact/index.tsx b/pages/contact/index.tsx index a3aefbf..b7ca653 100644 --- a/pages/contact/index.tsx +++ b/pages/contact/index.tsx @@ -2,6 +2,8 @@ import { GetStaticProps, NextPage } from 'next'; import dynamic from 'next/dynamic'; import styled from 'styled-components'; +import { FiMapPin, FiPhone } from 'react-icons/fi'; + import { Section } from '@this/components/layout'; import { IContact } from '@this/data/types/contact'; @@ -10,7 +12,7 @@ import Main from '@this/components/layout/Main'; import { getStaticAsset } from '@this/pages-api/static/[asset]'; import { BgImg } from '@this/src/components/Elements'; import Map from '@this/src/components/Elements/Map'; -import { FiMapPin, FiPhone } from 'react-icons/fi'; + const ContactForm = dynamic(() => import('@this/src/Forms/Form.Contact')); const Contact: NextPage = ({ address, city, state, zip, phone, gMapUrl }) => {