Commit Graph

3 Commits

Author SHA1 Message Date
06c56623a8 Added Video Ask widget as a component for contact
us.
2023-04-19 23:58:04 -07:00
7de4b7bbfa Created a contact form section
installed three js
added test model to contact form section
fixed issue with double render of useEffect that
was causing it to show up twice once compiled.
This was resolved using a boolean check to see if it
is mounted first.

n Next.js, when you navigate between pages, the entire React tree is unmounted and then remounted. This means that any component with a useEffect hook will run its cleanup function before being unmounted, and then its effect function again when it is remounted. This can cause the effect to run twice.
2023-04-19 23:11:25 -07:00
82b92d0f7e Fixed error with Unhandled Runtime Error
TypeError: Cannot read properties of null (reading 'pause')
Source
Components/Layout/section.jsx (22:27) @ pause

Added additional pages.

Created unique id for video components.
2023-04-18 12:01:04 -07:00