client/src/components/NotesList.js
changeset 59 1eb52770eefa
parent 58 f16a080e0bc4
child 62 b2514a9bcd49
equal deleted inserted replaced
58:f16a080e0bc4 59:1eb52770eefa
    12   if (notes.size === 0) {
    12   if (notes.size === 0) {
    13     return (
    13     return (
    14       <Alert bsStyle="warning">No notes yet. Add notes with the textarea below.</Alert>
    14       <Alert bsStyle="warning">No notes yet. Add notes with the textarea below.</Alert>
    15     );
    15     );
    16   }
    16   }
       
    17 
    17   return (
    18   return (
    18     <div>
    19     <div>
    19       {notes.map((note) =>
    20       {notes.map((note) =>
    20         <Note note={note} key={note._id} />
    21         <Note note={note} key={note._id} />
    21       )}
    22       )}