pl-fe: Reduce calls to verify_credentials for remote accounts

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-10-06 17:30:16 +02:00
parent 912267724d
commit 419877adcc

View file

@ -102,7 +102,7 @@ const ProfileDropdown: React.FC<IProfileDropdown> = ({ account, children }) => {
useEffect(() => {
fetchOwnAccountThrottled();
}, [account, authUsers]);
}, [account.id, authUsers]);
return (
<DropdownMenu