title: How can solve this error "Uncaught TypeError: inputArgs[0].match is not a function"
body: <p>When login first then immediatly show:-  &quot;Uncaught TypeError: inputArgs[0].match is not a function&quot; this error .</p>
  <p>I'm using react-firebase-auth hook. when I try loging it login successfully .
  my code like as=</p>
  <pre><code>import useSignInWithGoogle form react-firebase-hooks
  const [signInWithGoogle, user, loading, error] =useSignInWithGoogle(auth);
  if (user) {console.log(user)} 
  </code></pre>
  <p>it show first 2 result like -UserCredentialImpl and then show:</p>
  <blockquote>
  <p>Uncaught TypeError: inputArgs[0].match is not a function</p>
  </blockquote>
  <p>and the again show <code>UserCredentialImpl</code> and again:</p>
  <blockquote>
  <p>Uncaught TypeError: inputArgs[0].match is not a function</p>
  </blockquote>