From b96489e02847e3f0718518f822895150a1ebb5d2 Mon Sep 17 00:00:00 2001 From: Farabi Date: Thu, 28 Nov 2024 14:50:52 +0800 Subject: [PATCH] fix: reference error of is_desktop in load modal --- src/components/load-modal/load-modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/load-modal/load-modal.tsx b/src/components/load-modal/load-modal.tsx index 5ad1411d..c321391f 100644 --- a/src/components/load-modal/load-modal.tsx +++ b/src/components/load-modal/load-modal.tsx @@ -82,7 +82,7 @@ const LoadModal: React.FC = observer(() => { toggleLoadModal(); rudderStackSendCloseEvent({ subform_name: 'load_strategy', - load_strategy_tab: LOAD_MODAL_TABS[active_index + (!is_desktop ? 1 : 0)], + load_strategy_tab: LOAD_MODAL_TABS[active_index + (!isDesktop ? 1 : 0)], }); }} onEntered={onEntered}