From 2e93281368dbea460f34a8dacca4c5a79ac6a801 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sat, 25 May 2024 16:51:58 +0530 Subject: [PATCH] tsc --- web/apps/auth/src/pages/_app.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/apps/auth/src/pages/_app.tsx b/web/apps/auth/src/pages/_app.tsx index e4bff37e7..10002c89a 100644 --- a/web/apps/auth/src/pages/_app.tsx +++ b/web/apps/auth/src/pages/_app.tsx @@ -33,7 +33,7 @@ import { t } from "i18next"; import type { AppProps } from "next/app"; import { useRouter } from "next/router"; import { createContext, useEffect, useRef, useState } from "react"; -import LoadingBar from "react-top-loading-bar"; +import LoadingBar, { type LoadingBarRef } from "react-top-loading-bar"; import "../../public/css/global.css"; type AppContextType = { @@ -58,8 +58,8 @@ export default function App({ Component, pageProps }: AppProps) { typeof window !== "undefined" && !window.navigator.onLine, ); const [showNavbar, setShowNavBar] = useState(false); - const isLoadingBarRunning = useRef(false); - const loadingBar = useRef(null); + const isLoadingBarRunning = useRef(false); + const loadingBar = useRef(null); const [dialogBoxAttributeV2, setDialogBoxAttributesV2] = useState(); const [dialogBoxV2View, setDialogBoxV2View] = useState(false);