🔧 Fix for react-refresh plugin in production

This commit is contained in:
2022-06-14 13:04:29 -07:00
parent 7a3e0def34
commit a46eebb043
8 changed files with 233 additions and 12 deletions

View File

@@ -266,11 +266,11 @@ export const getTransfers =
true,
);
}
const transfers = await ADCPPSocket.get("queue/bundles/1/50", {});
if (!isNil(transfers)) {
const bundles = await ADCPPSocket.get("queue/bundles/1/50", {});
if (!isNil(bundles)) {
dispatch({
type: AIRDCPP_TRANSFERS_FETCHED,
transfers,
bundles,
});
}
} catch (err) {