Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
tgolen committed Aug 17, 2023
1 parent e3904fc commit 9626828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/MapboxToken.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {

Check failure on line 72 in src/libs/actions/MapboxToken.js

View workflow job for this annotation

GitHub Actions / lint

'ActiveClientManager' is not defined
console.debug('[MapboxToken] This client is not the leader so ignoring onyx callback');
return;
}
Expand Down

0 comments on commit 9626828

Please sign in to comment.