fix: spdv-973

This commit is contained in:
rolandlor
2026-03-12 19:00:30 +01:00
committed by Bálint Ujvári
parent e8e01c054a
commit 3c4d618cc8
7 changed files with 99 additions and 77 deletions
+1 -5
View File
@@ -11,11 +11,7 @@ import React from 'react'
import { getHumanReadableFileSize } from '../../../utils/file'
import { ActionTag } from '../constants/transfers'
export const getUsableStamps = async (bee: Bee | null): Promise<PostageBatch[]> => {
if (!bee) {
return []
}
export const getUsableStamps = async (bee: Bee): Promise<PostageBatch[]> => {
try {
return (await bee.getPostageBatches())
.filter(s => s.usable)