fix: remove AI credit refresh time scraping
This commit is contained in:
1 parent
7093c982ba
commit
3e1e10b2a5
5 files changed
+52
-35
No files matched your search
@@ -74,6 +74,7 @@ import {
|
||||
import { filter, flatMap, isEmpty, isNumber, size, sumBy } from 'lodash-es';
|
||||
import {
|
||||
clampQuotaPercentage,
|
||||
formatAiCreditsAmount,
|
||||
getQuotaStatus,
|
||||
roundQuotaPercentage,
|
||||
getAccountSortValue,
|
||||
@@ -317,7 +318,7 @@ export function CloudAccountList() {
|
||||
toast({
|
||||
title: t('cloud.toast.quotaRefreshed'),
|
||||
description: t('cloud.toast.refreshCreditsAvailable', {
|
||||
amount: credits.toFixed(2),
|
||||
amount: formatAiCreditsAmount(credits),
|
||||
}),
|
||||
});
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user