Skip to content

Commit

Permalink
FE CCCV Fix tsc error
Browse files Browse the repository at this point in the history
  • Loading branch information
wtcarter committed Dec 1, 2024
1 parent f36fcb5 commit ec85ea6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { createContext, useState } from 'react'

interface LoadingContextType {
addressLoading: boolean;
loading: boolean;
setLoading: (value: boolean) => void;
}

Expand Down
4 changes: 2 additions & 2 deletions packages/cccv/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ const router = createBrowserRouter(routes as RouteObject[], {
})

const LoadingOverlayContainer: React.FC = () => {
const { addressLoading } = useLoadingIndicator()
return <>{addressLoading && <LoadingIndicatorOverlay />}</>
const { loading } = useLoadingIndicator()
return <>{loading && <LoadingIndicatorOverlay />}</>
}

export default LoadingOverlayContainer
Expand Down

0 comments on commit ec85ea6

Please sign in to comment.