Skip to content

Commit

Permalink
remove unwanted code
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeepmdk committed Sep 19, 2023
1 parent 7cf1569 commit 5b7f27e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libs/actions/MapboxToken.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const hasTokenExpired = () => moment().isAfter(currentToken.expiration);

const clearToken = () => {
console.debug('[MapboxToken] Deleting the token stored in Onyx');
currentToken = null;
// Use Onyx.set() to delete the key from Onyx, which will trigger a new token to be retrieved from the API.
Onyx.set(ONYXKEYS.MAPBOX_ACCESS_TOKEN, null);
};
Expand Down

0 comments on commit 5b7f27e

Please sign in to comment.