export const handleClickHash = (e, sectionId) => {
    e.preventDefault();

    // https://stackoverflow.com/questions/61196420/react-navigation-that-will-smooth-scroll-to-section-of-the-page

    let element = document.getElementById(sectionId);
    element && element.scrollIntoView({ behavior: "smooth", block: "start"});

    // collapse the navbar
    // short circuit operator
    //isNavCollapsed === true || setIsNavCollapsed(true)
};
export const handleClickHash = (e, sectionId) => {
    e.preventDefault();

    // https://stackoverflow.com/questions/61196420/react-navigation-that-will-smooth-scroll-to-section-of-the-page

    let element = document.getElementById(sectionId);
    element && element.scrollIntoView({ behavior: "smooth", block: "start"});

};
remove unused code