Adding spacing

This commit is contained in:
Sharyn 2018-07-10 16:26:12 +02:00
parent e59ef507ba
commit f36d059dee

View File

@ -11,9 +11,11 @@ const InterviewsList = (props) => {
// Build up interviews object with letter key
sortedInterviews.forEach((interview) => {
const firstLetter = interview.name.charAt(0);
if (typeof interviews[firstLetter] === 'undefined') {
interviews[firstLetter] = [];
}
interviews[firstLetter].push(interview);
});