change component to console.log only