diff --git a/src/components/footer.tsx b/src/components/footer.tsx index cb237c9..08e4774 100644 --- a/src/components/footer.tsx +++ b/src/components/footer.tsx @@ -17,7 +17,9 @@ import React, { type JSX } from "react"; * @returns A JSX element. */ export const Footer = (): JSX.Element | null => { - Crisp.configure("5398ce41-4ceb-4e31-9049-4c784a70179a"); + if (typeof window !== "undefined") { + Crisp.configure("5398ce41-4ceb-4e31-9049-4c784a70179a"); + } const pathname = usePathname(); const isRootPath = pathname === "/";