Fix id may not be available yet

pull/261/head
Lim Chee Aun 2023-10-13 15:46:31 +08:00
rodzic cd403fe605
commit f67d4fd916
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -286,6 +286,7 @@ function AccountInfo({
};
const renderPostingStats = async () => {
if (!id) return;
setPostingStatsUIState('loading');
try {
const stats = await memFetchPostingStats(id, masto);