title: Want to print a message with IDs which is retrieved from an array
body: <p>I want to print a message with Some IDs.. The set IDs are stored in an array..</p>
  
  <pre><code>const msg= 'A patient with this Hospital already exsists. Do you want to edit this patient?' + checkAccnt &amp;&amp; checkAccnt.map((Pat,i)=&gt;&lt;div key={i}&gt;&lt;div&gt;{Pat.PatientID}&lt;/div&gt;&lt;/div&gt;);
  </code></pre>
  
  <p>The above I was written. Unfortunetly only the IDs are print as output..THe message that I written infront of it doesn't print..Why?</p>