const showComponent = (route, component) => { return window.location.pathname === route ? component : null }