//get list of buttons and make sure there are no duplicates

function displayButtons(){
    const companies = products.reduce((total, item) => {
       total = [ Set(total)]
       return total
    const buttons = => {
       return `<button class="company-btn">${item}</button>`
    buttonsContainer.innerHTML = buttons

 // or we could do this...
 const someBtns = ['all', Set( =>,];  
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter