📚 Documentação inicial do ALETHEIA
- MANUAL-PRODUTO.md: Manual do usuário final - MANUAL-VENDAS.md: Estratégia comercial e vendas - MANUAL-TECNICO.md: Infraestrutura e deploy - README.md: Visão geral do projeto
This commit is contained in:
15
frontend/node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs
generated
vendored
Normal file
15
frontend/node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import { useRef } from 'react';
|
||||
import { useIsomorphicLayoutEffect } from './use-isomorphic-effect.mjs';
|
||||
|
||||
function useIsMounted() {
|
||||
const isMounted = useRef(false);
|
||||
useIsomorphicLayoutEffect(() => {
|
||||
isMounted.current = true;
|
||||
return () => {
|
||||
isMounted.current = false;
|
||||
};
|
||||
}, []);
|
||||
return isMounted;
|
||||
}
|
||||
|
||||
export { useIsMounted };
|
||||
Reference in New Issue
Block a user