title: Can not import functions corretly in reactJS App?
body: <p>I am having problem with <code>import</code>, I have a file like this : </p>
  
  <pre><code>import { TYPE_CONTRAT_UPDATE, CONFORMITE_UPDATE } from "./actionsTypes";
  
  import { createAction } from "../../../../../../redux/Utilities";
  
  const updateTypeContrat = (idContrat, data, success, error) =&gt;
      createAction(TYPE_CONTRAT_UPDATE.PUT_CALL, { idContrat, data, success, 
  error });
  const updateConformiteContrat = (idContrat, data, success, error) =&gt; 
      createAction(CONFORMITE_UPDATE.PUT_CALL, { idContrat, data, success, 
  error });
  export default { updateTypeContrat, updateConformiteContrat};
  </code></pre>
  
  <p>I am trying to import as you can see variables in capital from my file actionsTypes, here is the file :</p>
  
  <pre><code>import { createPutTypes } from "../../../../../../redux/Utilities";
  
  const TYPE_CONTRAT_UPDATE = createPutTypes("TYPE_CONTRAT_UPDATE");
  const CONFORMITE_UPDATE = createPutTypes("CONFORMITE_UPDATE");
  
  export default { CONFORMITE_UPDATE, TYPE_CONTRAT_UPDATE } 
  </code></pre>
  
  <p>But I get an error : </p>
  
  <blockquote>
    <p>Line 1:  TYPE_CONTRAT_UPDATE not found in './actionsTypes'  import/named
       Line 1:  CONFORMITE_UPDATE not found in './actionsTypes'    import/named</p>
  </blockquote>
  
  <p>Any help would be much appreciated.</p>