import React from 'react'; import { useAccount } from 'soapbox/api/hooks'; import Account, { IAccount } from 'soapbox/components/account'; interface IAccountContainer extends Omit { id: string withRelationship?: boolean } const AccountContainer: React.FC = ({ id, withRelationship, ...props }) => { const { account } = useAccount(id, { withRelationship }); return ( ); }; export default AccountContainer;