更换web界面

This commit is contained in:
Martial BE
2023-12-20 19:27:27 +08:00
parent 365744a040
commit ffa4e491ea
205 changed files with 12815 additions and 6830 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 = true;
},
[]
);
return scripted;
};
export default useScriptRef;