import React, { useContext } from 'react'; import { Divider } from 'antd'; import Add from '../components/encrypt/Add'; import FileList from '../components/FileList'; import EncryptionContext from '../contexts/Encryption'; const Encrypt: React.FC = () => { const { files, deleteFile } = useContext(EncryptionContext); return ( <> {Object.keys(files).length > 0 && ( <> Files Note: files are not send to me, you still have to download the encrypted files and send it to me. )} ); }; export default Encrypt;