title: Cant display a created user-email when using firebase in react
body: <p>React newbie here, i have used firebase authentication to handle my user sessions. So i want when a person is loged in and wants to make payments, there email credentials to be displayed at the top of the payment page as part of there personal information but am not able to display the email details.</p>
  <p>Instead i get an error saying (You may need an appropriate loader to handle this file type)
  <a href="https://i.stack.imgur.com/A8Mzm.png" rel="nofollow noreferrer">Image of the error i get</a></p>
  <pre><code>import React from 'react';
  import './Product.css';
  import { useStateValue } from './StateProvider';
  
  function payment() {
    const [{ basket, user }, dispatch] = useStateValue();
  
    return (
      &lt;div className='payment'&gt;
          &lt;div className=&quot;payment__container&quot;&gt;
  
              &lt;div className=&quot;payment__section&quot;&gt;
                      &lt;div className=&quot;payment__title&quot;&gt; 
                            &lt;h3&gt;Delivery Address&lt;/h3&gt;
                      &lt;/div&gt;
  
                      &lt;div className=&quot;payment__address&quot;&gt;
                            &lt;p&gt;{user?.email}&lt;/p&gt;
                      &lt;/div&gt;
              &lt;/div&gt;
  
  
              &lt;div className=&quot;payment__section&quot;&gt;
  
              &lt;/div&gt;
  
              &lt;div className=&quot;payment__section&quot;&gt;
  
              &lt;/div&gt;
          
          &lt;/div&gt;
      &lt;/div&gt; 
    )
  }
  
  export default payment 
  </code></pre>
  <p>I dont know how to go about the error.</p>
  <p>The whole project code is here <a href="https://github.com/Elijah-A-W/Amazon-Clone-With-React/blob/master/src/Payment.js" rel="nofollow noreferrer">https://github.com/Elijah-A-W/Amazon-Clone-With-React/blob/master/src/Payment.js</a></p>