--- a/client/src/components/SessionList.js Thu Nov 08 16:03:28 2018 +0100
+++ b/client/src/components/SessionList.js Tue Nov 13 16:46:15 2018 +0100
@@ -97,11 +97,11 @@
{this.props.sessions.map((session) =>
<div className="session col-lg-3" key={session._id}>
<div className="col-md-auto w-100 m-2 p-2">
- <a className="sessions" onClick={() => this.props.history.push('/sessions/' + session._id)}>
+ <div className="sessions" onClick={() => this.props.history.push('/sessions/' + session._id)}>
<span className="session-title text-primary">{session.title || 'Session sans titre'}<br /></span>
<span className="session-date text-muted">{moment(session.date).format('DD/MM/YYYY')}<br /></span>
<span className="session-description">{session.description}<br /></span>
- </a>
+ </div>
<button type="button" id="delete" className="btn btn-link float-left" onClick={ this.onClickDelete.bind(this, session) }>
<span className="material-icons delete text-dark">delete</span>
</button>