mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-25 09:18:51 +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 () => {
|
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…
Reference in a new issue