From d105deb94ba363e90b57e3bba6796e2e359a8b97 Mon Sep 17 00:00:00 2001 From: mayuran-deriv Date: Thu, 12 Dec 2024 18:55:53 +0400 Subject: [PATCH] fix: default value --- src/pages/bot-builder/quick-strategy/selects/symbol.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/bot-builder/quick-strategy/selects/symbol.tsx b/src/pages/bot-builder/quick-strategy/selects/symbol.tsx index 95dd7e8a..fda072a4 100644 --- a/src/pages/bot-builder/quick-strategy/selects/symbol.tsx +++ b/src/pages/bot-builder/quick-strategy/selects/symbol.tsx @@ -53,7 +53,7 @@ const SymbolSelect: React.FC = () => { ); useEffect(() => { - const { active_symbols } = + const { active_symbols = { getSymbolsForBot: () => [] } } = (ApiHelpers?.instance as unknown as { active_symbols: { getSymbolsForBot: () => TSymbol[];