fix(wallets): capture $type in the deposit/withdraw action closure #2
Reference in New Issue
Block a user
Delete Branch "feat/persian-panel-fixes-and-model-tweaks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The action closure referenced $type without importing it via use(), so
every credit/debit attempt in the admin panel threw "Undefined variable
$type" instead of adjusting the wallet.
Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com