mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-25 01:08:50 +01:00
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 () => {
|
||||
if (!id) return;
|
||||
setPostingStatsUIState('loading');
|
||||
try {
|
||||
const stats = await memFetchPostingStats(id, masto);
|
||||
|
|
Loading…
Reference in a new issue