From 9e0cabf139f091190939f0f93dc40efa65839ceb Mon Sep 17 00:00:00 2001 From: Alex Beaman Date: Tue, 4 Jul 2023 16:15:14 +0300 Subject: [PATCH] Fix bad manual merge --- src/libs/ReportUtils.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/libs/ReportUtils.js b/src/libs/ReportUtils.js index 8647893f1fdf..0d0552d51e48 100644 --- a/src/libs/ReportUtils.js +++ b/src/libs/ReportUtils.js @@ -36,6 +36,12 @@ Onyx.connect({ }, }); +let loginList; +Onyx.connect({ + key: ONYXKEYS.LOGIN_LIST, + callback: (val) => (loginList = _.isEmpty(val) ? [] : _.keys(val)), +}); + let preferredLocale = CONST.LOCALES.DEFAULT; Onyx.connect({ key: ONYXKEYS.NVP_PREFERRED_LOCALE,