aboutsummaryrefslogtreecommitdiffstats
path: root/apps/Notes/components
diff options
context:
space:
mode:
Diffstat (limited to 'apps/Notes/components')
-rw-r--r--apps/Notes/components/List.js32
1 files changed, 16 insertions, 16 deletions
diff --git a/apps/Notes/components/List.js b/apps/Notes/components/List.js
index 05d0711..0e6c8fa 100644
--- a/apps/Notes/components/List.js
+++ b/apps/Notes/components/List.js
@@ -60,22 +60,22 @@ const List = () => {
</thead>
<tbody>
{
- notes.length > 0
- ? (notes.sort(sortFn).map(note => (
- <ListItem
- key={note._id}
- note={note}
- setAction={setAction}
- setFetchedNote={setFetchedNote}
- setLoading={setLoading}
- />
- )))
- : (
- <tr>
- <td>{t('notes_list_empty')}</td>
- </tr>
- )
-}
+ notes.length > 0
+ ? (notes.sort(sortFn).map(note => (
+ <ListItem
+ key={note._id}
+ note={note}
+ setAction={setAction}
+ setFetchedNote={setFetchedNote}
+ setLoading={setLoading}
+ />
+ )))
+ : (
+ <tr>
+ <td>{t('notes_list_empty')}</td>
+ </tr>
+ )
+ }
</tbody>
</table>
</div>