From 5818ad8db92fd3c1c8e0b3d94d74eefae514f350 Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Sun, 1 Jan 2017 17:35:41 -0600 Subject: [PATCH] Display message if no one signed in. --- bikeshop_project/assets/js/components/SignedInList.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bikeshop_project/assets/js/components/SignedInList.jsx b/bikeshop_project/assets/js/components/SignedInList.jsx index d7e70f2..e0b86b4 100644 --- a/bikeshop_project/assets/js/components/SignedInList.jsx +++ b/bikeshop_project/assets/js/components/SignedInList.jsx @@ -30,7 +30,7 @@ export default class SignedInList extends React.Component { return (

Members signed in

- {members} + {!!members.length ? members : 'No members currently signed in.'}
); }