This commit is contained in:
2026-06-08 10:44:40 +03:00
parent 5adb1e807b
commit 80c7c5e8f8
11 changed files with 157 additions and 9 deletions

View File

@@ -21,10 +21,10 @@ export function AdminPage() {
function handleCreated(organization: Organization) {
setNotification({ status: 'success', message: 'Юридическое лицо добавлено' })
createWallets.mutate(organization.id, {
onSuccess: (wallets) => {
onSuccess: (result) => {
setNotification({
status: 'success',
message: `Кошельки созданы (${wallets.length})`,
message: `Кошельки созданы (${result.wallets.length})`,
})
},
onError: () => {