how to remove session data on tab close in redux\
snippet in javascript

how to remove session data on tab close in redux\

user4916

window.onbeforeunload = function() {
   localStorage.clear();
}