1 import { useOrganization } from '@proton/account/organization/hooks';
2 import Loader from '@proton/components/components/loader/Loader';
3 import SettingsSectionWide from '@proton/components/containers/account/SettingsSectionWide';
5 import Addresses from './Addresses';
11 const AddressesSection = ({ isOnlySelf }: Props) => {
12 const [organization, loadingOrganization] = useOrganization();
16 {!organization || loadingOrganization ? (
19 <Addresses isOnlySelf={isOnlySelf} organization={organization} />
21 </SettingsSectionWide>
25 export default AddressesSection;