Skip to content

Lesson #85: Calculating Statistics as Derived State final code for Stats.js is missing <footer> element #201

@csangos

Description

@csangos

When checking for the !items.length to return a prompt to add items to your list, the

element is missing so the CSS is incorrectly formated.

I believe this snippet should be:
if (!items.length) return ( <footer className="stats"> <p> <em>Start adding some items to your packing list 🚀</em> </p> </footer> );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions