diff --git a/app/web/src/components/EditorMenu/helpers.ts b/app/web/src/components/EditorMenu/helpers.ts index c31864a..032a311 100644 --- a/app/web/src/components/EditorMenu/helpers.ts +++ b/app/web/src/components/EditorMenu/helpers.ts @@ -54,7 +54,9 @@ export const makeStlDownloadHandler = extensions: ['.stl'], }) } - toast("CadHub is a work in process and We're still working out kinks with the STL download.") + toast( + "CadHub is a work in process and We're still working out kinks with the STL download." + ) if (geometry) { if ( type === 'geometry' && diff --git a/app/web/src/components/FatalErrorBoundary/FatalErrorBoundary.tsx b/app/web/src/components/FatalErrorBoundary/FatalErrorBoundary.tsx index 9475815..67c82ab 100644 --- a/app/web/src/components/FatalErrorBoundary/FatalErrorBoundary.tsx +++ b/app/web/src/components/FatalErrorBoundary/FatalErrorBoundary.tsx @@ -15,6 +15,10 @@ class FatalErrorBoundary extends FatalErrorBoundaryBase { ``` $ git clone https://github.com/netlify/prerender.git $ cd prerender + ``` + comment out the lines `server.use(require("./lib/plugins/basicAuth"));` and `server.use(require("./lib/plugins/s3HtmlCache"));` in `server.js` + then + ``` $ npm install $ npm start ``` diff --git a/app/web/src/components/Hero/AssetWithGooey.tsx b/app/web/src/components/Hero/AssetWithGooey.tsx index 4c26620..804af6b 100644 --- a/app/web/src/components/Hero/AssetWithGooey.tsx +++ b/app/web/src/components/Hero/AssetWithGooey.tsx @@ -4,7 +4,7 @@ import { useLoader, useThree, useFrame } from '@react-three/fiber' import { STLLoader } from 'three/examples/jsm/loaders/STLLoader' import { useEdgeSplit } from 'src/helpers/hooks/useEdgeSplit' import texture from 'src/components/IdeViewer/dullFrontLitMetal.png' -import { Glitch, EffectComposer } from "@react-three/postprocessing"; +import { Glitch, EffectComposer } from '@react-three/postprocessing' import { MeshDistortMaterial, Sphere, useTexture } from '@react-three/drei' const thresholdAngle = 10 diff --git a/app/web/src/components/Hero/Hero.tsx b/app/web/src/components/Hero/Hero.tsx index e743d66..276784c 100644 --- a/app/web/src/components/Hero/Hero.tsx +++ b/app/web/src/components/Hero/Hero.tsx @@ -281,7 +281,13 @@ function ModelSection({ const { ref, inView } = useInView() return (
-
something seams to have gone wrong here
}> + ( +
+ something seams to have gone wrong here +
+ )} + >
} + fallback={ + + } >