Skip to content

Commit

Permalink
remove unused CURRENT_URL Onyx key
Browse files Browse the repository at this point in the history
  • Loading branch information
arosiclair committed Jul 28, 2022
1 parent e8faa4d commit 0c2c2f6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions src/ONYXKEYS.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ export default {
// Note: These are Persisted Requests - not all requests in the main queue as the key name might lead one to believe
PERSISTED_REQUESTS: 'networkRequestQueue',

// What the active route is for our navigator. Global route that determines what views to display.
CURRENT_URL: 'currentURL',

// Stores current date
CURRENT_DATE: 'currentDate',

Expand Down
8 changes: 0 additions & 8 deletions src/libs/actions/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,6 @@ Onyx.connect({
},
});

/**
* @param {String} url
*/
function setCurrentURL(url) {
Onyx.set(ONYXKEYS.CURRENT_URL, url);
}

/**
* @param {String} locale
*/
Expand Down Expand Up @@ -211,7 +204,6 @@ NetworkConnection.onReconnect(() => {
});

export {
setCurrentURL,
setLocale,
setSidebarLoaded,
getAppData,
Expand Down

0 comments on commit 0c2c2f6

Please sign in to comment.