Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git] / packages / components / hooks / useRecoverySecrets.ts
blobcf8a3ac934c472886ece3c83b08990f69a1eafb6
1 import { useUser } from '@proton/account/user/hooks';
2 import { getRecoverySecrets } from '@proton/shared/lib/recoveryFile/recoveryFile';
4 const useRecoverySecrets = () => {
5     const [{ Keys }] = useUser();
6     return getRecoverySecrets(Keys);
7 };
9 export default useRecoverySecrets;