1 import { Fragment } from 'react';
3 import { c } from 'ttag';
5 import { LoaderPage } from '@proton/components';
7 import SharedPageLayout from './Layout/SharedPageLayout';
9 export default function LoadingPage({ haveCustomPassword }: { haveCustomPassword: boolean }) {
10 // Only show the layout if the user had to submit a custom password
11 const Wrapper = haveCustomPassword ? SharedPageLayout : Fragment;
14 <div className="flex flex-column items-center justify-center w-full h-full">
15 <LoaderPage text={c('Info').t`Decrypting files`} />