Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git] / packages / components / hooks / useModals.ts
blobf2692d924af87a070077723ec0e89e4de26cd2b0
1 import { useContext } from 'react';
3 import ModalsContext from '../containers/modals/modalsContext';
5 /**
6  * @deprecated Please use useModalTwo or useModalState instead
7  */
8 const useModals = () => {
9     return useContext(ModalsContext);
12 export default useModals;