Follow-up

This commit is contained in:
Alexander Zinchuk 2025-07-29 16:58:07 +02:00
parent 51da250aa8
commit b6a7fe73e4

View File

@ -72,7 +72,7 @@ const StarsBalanceModal = ({
const currency = modal?.currency || STARS_CURRENCY_CODE;
const currentState = currency === TON_CURRENCY_CODE ? tonBalanceState : starsBalanceState;
const { balance, history } = currentState || {};
const { subscriptions } = (currency === TON_CURRENCY_CODE && starsBalanceState) || {};
const { subscriptions } = (currency === STARS_CURRENCY_CODE && starsBalanceState) || {};
const oldLang = useOldLang();
const lang = useLang();