10 lines
213 B
JavaScript
10 lines
213 B
JavaScript
![]() |
import { useContext } from "react"
|
||
|
import { LoadingContext } from "../plugins/LoadingContext"
|
||
|
|
||
|
const useLoading = () => {
|
||
|
const loading = useContext(LoadingContext)
|
||
|
return loading
|
||
|
}
|
||
|
|
||
|
export default useLoading
|