title: SameSite Cookie Attribute Warning Isn't getting fixed
body: <p>I am using react.js, and I'm trying to integrate <a href="https://www.luckyorange.com/" rel="nofollow noreferrer">lucky orange</a> into my web app. I added the code snippet in the head tag of the <code>index.html</code> file, but I get a warning saying: </p>
  
  <blockquote>
    <p>A cookie associated with a cross-site resource at <a href="http://luckyorange.net/" rel="nofollow noreferrer">http://luckyorange.net/</a> was set without the <code>SameSite</code> attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with <code>SameSite=None</code> and <code>Secure</code>.</p>
  </blockquote>
  
  <p>I tried setting the cookie in the head of the index.html document like this:</p>
  
  <pre><code>document.cookie = 'same-site-cookie=foo; SameSite=Lax';
  document.cookie = 'cross-site-cookie=bar; SameSite=None; Secure';
  </code></pre>
  
  <p>But I'm still getting that error. What am I doing wrong and how can I fix it?</p>