loading issue fixed

This commit is contained in:
akash 2025-12-13 22:33:40 +05:30
commit a64893aebd
2 changed files with 11 additions and 2 deletions

View File

@ -1,7 +1,8 @@
import type { Metadata } from "next";
import { Playfair_Display, DM_Sans } from "next/font/google";
import "./globals.css";
import ScrollToTop from "@/components/ScrollToTop/ScrollToTop";
// import ScrollProviders from "@/components/ScrollProviders";
// import ScrollToTop from "@/components/ScrollToTop/ScrollToTop";
// import Navbar from '@/components/Navbar/Navbar';
// import NavbarWrapper from "@/components/NavbarWrapper";
import Script from "next/script";
@ -156,7 +157,8 @@ export default function RootLayout({
{/* <NavbarWrapper /> */}
<NavbarClient />
{children}
<ScrollToTop />
{/* <ScrollProviders /> */}
{/* <ScrollToTop /> */}
</body>
</html>
)

View File

@ -0,0 +1,7 @@
"use client";
import ScrollToTop from "@/components/ScrollToTop/ScrollToTop";
export default function ClientProviders() {
return <ScrollToTop />;
}