Fix id may not be available yet
This commit is contained in:
parent
cd403fe605
commit
f67d4fd916
1 changed files with 1 additions and 0 deletions
|
@ -286,6 +286,7 @@ function AccountInfo({
|
||||||
};
|
};
|
||||||
|
|
||||||
const renderPostingStats = async () => {
|
const renderPostingStats = async () => {
|
||||||
|
if (!id) return;
|
||||||
setPostingStatsUIState('loading');
|
setPostingStatsUIState('loading');
|
||||||
try {
|
try {
|
||||||
const stats = await memFetchPostingStats(id, masto);
|
const stats = await memFetchPostingStats(id, masto);
|
||||||
|
|
Loading…
Add table
Reference in a new issue