ENGLISH·COURSE API
    Preparing search index...

    Module

    hooks/use-earned-tickets/use-earned-tickets

    Functions

    earnedTicketsServerSnapshot

    The snapshot the server renders with: always empty.

    useEarnedTickets

    Every ticket the signed-in learner has earned, as one snapshot of lesson ids.

    earnTickets

    Records a ticket for every lesson that has not earned one yet.