import React from 'react'; import Account from 'soapbox/components/account'; import { useAppSelector } from 'soapbox/hooks'; import { makeGetAccount } from 'soapbox/selectors'; interface IAutosuggestAccount { id: string, } const AutosuggestAccount: React.FC = ({ id }) => { const getAccount = makeGetAccount(); const account = useAppSelector((state) => getAccount(state, id)); if (!account) return null; return ; }; export default AutosuggestAccount;