From 9626828cbd808fe58368e4df49997abceb96d339 Mon Sep 17 00:00:00 2001 From: Tim Golen Date: Thu, 17 Aug 2023 14:25:53 -0600 Subject: [PATCH] Fix import --- src/libs/actions/MapboxToken.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/MapboxToken.js b/src/libs/actions/MapboxToken.js index eaf34139450..4b1d74dbb8d 100644 --- a/src/libs/actions/MapboxToken.js +++ b/src/libs/actions/MapboxToken.js @@ -69,7 +69,7 @@ const init = () => { callback: (token) => { // Only the leader should be in charge of the mapbox token, or else when you have multiple tabs open, the Onyx connection fires multiple times // and it sets up duplicate refresh timers. This would be a big waste of tokens. - if (!isClientTheLeader()) { + if (!ActiveClientManager.isClientTheLeader()) { console.debug('[MapboxToken] This client is not the leader so ignoring onyx callback'); return; }