diff --git a/app/web/src/components/Seo/Seo.tsx b/app/web/src/components/Seo/Seo.tsx index 9a951bc..904ce48 100644 --- a/app/web/src/components/Seo/Seo.tsx +++ b/app/web/src/components/Seo/Seo.tsx @@ -1,4 +1,5 @@ import { Helmet } from 'react-helmet' +import { useIsBrowser } from '@redwoodjs/prerender/browserUtils' const Seo = ({ title = "CadHub", @@ -11,6 +12,7 @@ const Seo = ({ lang: string socialImageUrl?: string }) => { + const browser = useIsBrowser() return ( <> {/* Facebook Meta Tags */} - + {browser && } @@ -33,7 +35,7 @@ const Seo = ({ {/* Twitter Meta Tags */} - + {browser && } diff --git a/app/web/src/index.html b/app/web/src/index.html index ea5a410..0227848 100644 --- a/app/web/src/index.html +++ b/app/web/src/index.html @@ -10,7 +10,7 @@ - +