mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-25 18:13:48 -04:00
* Test * Add pretty formatting * Fix Tests * Fix Tests * Fix Tests * Fix * Add pretty formatting fix * Fix * Test * Fix tests * Clean typeckech * Add prettier check * Fix api tsconfig * Fix api tsconfig * Fix tsconfig * Fix * Fix * Prettier
12 lines
164 B
TypeScript
12 lines
164 B
TypeScript
import {useEffect} from 'react'
|
|
|
|
let hasLoaded = false
|
|
|
|
export const useHasLoaded = () => {
|
|
useEffect(() => {
|
|
hasLoaded = true
|
|
}, [])
|
|
|
|
return hasLoaded
|
|
}
|