Initial push

This commit is contained in:
Henry
2023-04-06 22:17:34 +01:00
commit 05c86ff9c5
162 changed files with 9112 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import { useEffect, useRef } from 'react'
// ==============================|| ELEMENT REFERENCE HOOKS ||============================== //
const useScriptRef = () => {
const scripted = useRef(true)
useEffect(
() => () => {
scripted.current = false
},
[]
)
return scripted
}
export default useScriptRef