Skip to content

Commit 6d7ff65

Browse files
committed
remove onyx.connect
1 parent 54db848 commit 6d7ff65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/actions/Locale.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import ONYXKEYS from '@src/ONYXKEYS';
88
* This function is used to ensure that the locale is loaded before we start to render UI. Once we load initial locale we can remove listener.
99
*/
1010
function init() {
11-
const connection = Onyx.connect({
11+
const connection = Onyx.connectWithoutView({
1212
key: ONYXKEYS.NVP_PREFERRED_LOCALE,
1313
initWithStoredValues: true,
1414
callback: (locale) => {

0 commit comments

Comments
 (0)