title: Google One Tap SignIn Popup not showing
body: <p>I was trying to implement <code>Google One Tap SignIn</code> in my project. At the first time after building the project the google one tap prompt will display. But next time onwards if we refresh the page also the prompt is not displaying.</p>
  <p>Here is my code snippet.</p>
  <pre><code>import { addScript } from 'Util/DOM';
  
  /**
   * Loads One Tap Client Library
   */
  const loadOneTapClientLibrary = async() =&gt; {
      await addScript('https://accounts.google.com/gsi/client');
  }
  
  /**
   * Loads One Tap Javascript API
   * @param {*} resolve 
   */
  const loadOneTapJsAPI = (resolve) =&gt; {
      window.onload = () =&gt; {
          google.accounts.id.initialize({
            client_id: &quot;My client Id&quot;,
            callback: data =&gt; resolve(data)
          });
          google.accounts.id.prompt();
      }
  }
  
  export const loadOneTap = async() =&gt; {
      return new Promise( (resolve, reject) =&gt; {
          loadOneTapClientLibrary();
          loadOneTapJsAPI(resolve);
      })
  }
  </code></pre>
  <p>After page loads i am calling <code>loadOneTap();</code></p>