diff --git a/src/components/modals/webApp/WebAppModalTabContent.tsx b/src/components/modals/webApp/WebAppModalTabContent.tsx index 15834b4c3..9bd8820a9 100644 --- a/src/components/modals/webApp/WebAppModalTabContent.tsx +++ b/src/components/modals/webApp/WebAppModalTabContent.tsx @@ -631,7 +631,7 @@ const WebAppModalTabContent: FC = ({ } if (eventType === 'web_app_setup_closing_behavior') { - updateCurrentWebApp({ shouldConfirmClosing: true }); + updateCurrentWebApp({ shouldConfirmClosing: eventData.need_confirmation }); } if (eventType === 'web_app_open_popup') {