Fix error after new prettier version

This commit is contained in:
Matthias 2024-01-17 18:00:36 +01:00
parent 52b8c5b596
commit 8265698605

View File

@ -50,8 +50,9 @@ const exchangeList = computed(() => {
}); });
const tradeModesTyped = computed(() => { const tradeModesTyped = computed(() => {
const val = botStore.activeBot.exchangeList.find((ex) => ex.name === exchangeModel.value.exchange) const val = botStore.activeBot.exchangeList.find(
?.trade_modes; (ex) => ex.name === exchangeModel.value.exchange,
)?.trade_modes;
return val ?? []; return val ?? [];
}); });