diff --git a/packages/cccv/src/components/LoadingIndicator/LoadingContext.tsx b/packages/cccv/src/components/LoadingIndicator/LoadingContext.tsx index b3255d6a..4acb6e04 100644 --- a/packages/cccv/src/components/LoadingIndicator/LoadingContext.tsx +++ b/packages/cccv/src/components/LoadingIndicator/LoadingContext.tsx @@ -1,7 +1,7 @@ import React, { createContext, useState } from 'react' interface LoadingContextType { - addressLoading: boolean; + loading: boolean; setLoading: (value: boolean) => void; } diff --git a/packages/cccv/src/main.tsx b/packages/cccv/src/main.tsx index f22678fc..8ff1b588 100644 --- a/packages/cccv/src/main.tsx +++ b/packages/cccv/src/main.tsx @@ -29,8 +29,8 @@ const router = createBrowserRouter(routes as RouteObject[], { }) const LoadingOverlayContainer: React.FC = () => { - const { addressLoading } = useLoadingIndicator() - return <>{addressLoading && } + const { loading } = useLoadingIndicator() + return <>{loading && } } export default LoadingOverlayContainer