title: Access token_unidentified
body: <p>I  am building a Token authentication in <strong>React</strong> and have an issue. Below there are two lines of  the code:
  when I use proper code according to eslint:</p>
  
  <pre><code>const { token } = response.data.token;
  </code></pre>
  
  <p>it returns no error, but I cannot see the  <code>access_token</code>, it is unidentified in local storage </p>
  
  <p>when I use not proper code according to eslint:</p>
  
  <pre><code>const token=response.data.token;
  </code></pre>
  
  <p>then it shows me the actual code in local storage.</p>
  
  <p>What is happening?</p>