diff -r a4705c2b4544 -r 183b128a4189 client/src/components/SessionList.js --- a/client/src/components/SessionList.js Mon Oct 08 03:24:47 2018 +0200 +++ b/client/src/components/SessionList.js Mon Oct 08 03:30:54 2018 +0200 @@ -52,6 +52,17 @@ }) } + showSessionsNumber = () => { + if (this.props.sessions.size === 1) + return ( + {this.props.sessions.size} session + ); + return ( + {this.props.sessions.size} sessions + ) + + } + deleteSession = () => { const { sessionToDelete } = this.state; @@ -66,16 +77,19 @@ render() { return (