<commit_before>import Greeting from '../Greeting';
import Recommendations from "../Recommendations";
import { BookSearch } from "../BookSearch";
import BookList from "../BookList";
import BookTile from "../BookTile";

const Home = ({
    greet,
    greetingAction,
    name = "World",
    recommendations,
    readingList,
    onSearch,
    removeBook
}) => (
    <div>
        {greet ? <Greeting name={name} close={greetingAction} /> : ""}

        <Recommendations onAdd={onSearch} books={recommendations} />
        <BookSearch onSearch={onSearch} />
        {
            readingList.length > 0 ?
                <BookList zebra >
                    {
                        readingList.map((book, i) =>
                            <BookTile
                                key={i}
                                author={book.author}
                                title={book.volumeInfo.title}
                                id={book.id}
                                coverImgUrl={book.thumbnailUrl}
                                remove={() => removeBook(book.id)}
                            />
                        )
                    }
                </BookList> :
                <p>Your reading list is empty.</p>
        }
    </div>
);

export default Home;<commit_msg>Remove zebra-ing<commit_after>import Greeting from '../Greeting';
import Recommendations from "../Recommendations";
import { BookSearch } from "../BookSearch";
import BookList from "../BookList";
import BookTile from "../BookTile";

const Home = ({
    greet,
    greetingAction,
    name = "World",
    recommendations,
    readingList,
    onSearch,
    removeBook
}) => (
    <div>
        {greet ? <Greeting name={name} close={greetingAction} /> : ""}

        <Recommendations onAdd={onSearch} books={recommendations} />
        <BookSearch onSearch={onSearch} />
        {
            readingList.length > 0 ?
                <BookList>
                    {
                        readingList.map((book, i) =>
                            <BookTile
                                key={i}
                                author={book.author}
                                title={book.volumeInfo.title}
                                id={book.id}
                                coverImgUrl={book.thumbnailUrl}
                                remove={() => removeBook(book.id)}
                            />
                        )
                    }
                </BookList> :
                <p>Your reading list is empty.</p>
        }
    </div>
);

export default Home;
{'fraction_non_alphanumeric': 0.11630602782071098, 'fraction_numerical': 0.0007727975270479134, 'mean_word_length': 1.1701592623637889, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7368256', 'n_tokens_mistral': 665, 'n_tokens_neox': 635, 'n_words': 127}