diff --git a/frontend/package.json b/frontend/package.json index b48dea3b..e864ea21 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -19,6 +19,7 @@ "eslint-config-next": "^13.5.2", "next": "^13.5.2", "next-auth": "^4.23.2", + "nextjs-toploader": "^1.5.3", "postcss": "^8.4.31", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index fcfce5c8..0bdf805e 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -1,4 +1,7 @@ import Head from "next/head"; + +import NextTopLoader from "nextjs-toploader"; + import "./globals.css"; import NavBar from "@/components/NavBar/NavBar"; @@ -18,6 +21,7 @@ export default function RootLayout({