Improving back/home button added to manageCover

The managePage module could be in full-on module structure such as follows:

const managePage = (function makeManagePage() {
    function addPlayer(...) {
        ...
    }
    return {
        add: addPlayer
    };
}());

or it could be a single object:

const managePage = {
    add: function addPlayer(...) {
        ...
    }
};

The benefit of the more full module structure is that it makes it easier for you to add on other things as needs dictate,

1 Like