import "bootstrap/dist/css/bootstrap.min.css";
import "./global.css";
import GoogleAnalytics from "@components/General/GAnalytics/GoogleAnalytics";
import dynamic from 'next/dynamic'
const CookieBanner = dynamic(() => import('../components/General/GAnalytics/CookieBanner'), { ssr: false, suspense: true })
const GID = process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS;
export const metadata = {
title: "PayBridge Technologies - Home",
icons: {
icon: "/img/favicon.ico",
apple: "/img/apple-touch-icon.png",
},
};
export default function RootLayout({ children }) {
return (
<html lang="en">
<head/>
<GoogleAnalytics GA_MEASUREMENT_ID={GID}/>
<body>
{children}
<CookieBanner/>
</body>
</html>
);
}
Unhandled Runtime Error
NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.